+ 5
print is what you use, when you want to display something to a user. print("Hello World") will make Hello World appear in the console. The return statement is used to make a function return a certain value. If you run def square(number): return number*number c = square(5) the variable c will have the value 25, but the program has no output.
15th Apr 2017, 12:10 PM
Tob
Tob - avatar