3 call and reponse


how to do it


From the lesson:

Remember when we called spam in the previous exercise, like this: spam()? You can do the same here with square(), only you'll need to put 10 in between the parentheses so square knows what number to... well, square.

All you have to do is call the function at the end with a line like this:
square(10) because square is the function, and 10 is the argument that you want it to change.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.