I used this link to help me do this mastery: https:\/ It is also useful to read chapter 3 of the book “Think Python, How to Think Like a Computer Scientist”, <\/a><\/p>\n You can see an example of this in my #WSQ08<\/a>. Here’s the code showing where i called the function that i defined:<\/p>\n def osuma (num1,num2): #function<\/a> osuma<\/p>\n suma=num1+num2<\/p>\n return suma <\/p>\n <\/p>\n def oresta (num1,num2): #function<\/a> oresta<\/p>\n resta=num1-num2<\/p>\n return resta<\/p>\n <\/p>\n def omulti (num1,num2): #function<\/a> omulti<\/p>\n multi=num1*num2<\/p>\n return multi<\/p>\n <\/p>\n def odiv (num1,num2): #function<\/a> odiv<\/p>\n div=num1\/num2<\/p>\n return div<\/p>\n <\/p>\n def orem(num1,num2): #function<\/a> orem<\/p>\n rem= num1%num2<\/p>\n return rem<\/p>\n <\/p>\n <\/p>\n num1 = int(input(“Give me a number: “)) <\/p>\n num2 = int(input (“Give me another number: “))<\/p>\n #Here<\/a> i called every function i defined in order for the variable to take the functions value<\/p>\n su=osuma(num1,num2) #Here<\/a> i called osuma function i defined in order for the variable to take the function’s value<\/p>\n res=oresta(num1,num2) #Here<\/a> i called oresta function i defined in order for the variable to take the function’s value<\/p>\n mult=omulti(num1,num2) #Here<\/a> i called omulti function i defined in order for the variable to take the function’s value<\/p>\n di=odiv(num1,num2) #Here<\/a> i called odiv function i defined in order for the variable to take the function’s value<\/p>\n re=orem(num1,num2) #Here<\/a> i called orem function i defined in order for the variable to take the function’s value<\/p>\n <\/p>\n print (“The sum of your numbers is”, su) <\/p>\n print (“The difference of your numbers is”, res) <\/p>\n print (“The product of your numbers is”, mult) <\/p>\n print (“The division of your numbers is”, int(di)) <\/p>\n print(“The remainder of the division of your numbers is”, int(re)) <\/p>\n <\/p>\n #mastery11<\/a><\/p>\n #TC1014<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":" I used this link to help me do this mastery: https:\/\/docs.python.org\/2\/tutorial\/controlflow.html#defining-functionsIt is also useful to read chapter 3 of the book “Think Python, How to Think Like a Computer Scientist”,&nb… Continue reading