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 the function that i created<\/p>\n def osuma (num1,num2): #first<\/a> you have to define your function, in this case it’s osuma with num1 and num 2 as parameters<\/p>\n suma=num1+num2 #This<\/a> is what the function does… this line must be idented so the function can work properly<\/p>\n return suma #the return statement returns with a value from a function… this line must be idented so the function can work properly<\/p>\n <\/p>\n num1 = int(input(“Give me a number: “)) <\/p>\n num2 = int(input (“Give me another number: “))<\/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 <\/p>\n print (“The sum of your numbers is”, su) <\/p>\n <\/p>\n #mastery12<\/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