Splotch_ PPro Student 2,563 Points
I am having a hard time storing the value of the squared number as a result.
If anyone can show me a fast way to write this correctly I would really appreciate it
def square(num): print (num * num)
You need to
return allows you to return the data for further processing.
KRIS NIKOLAISENPro Student 38,621 Points
The challenge specifies the parameter name is "number" but I think it works either way.
def square(number): return (number * number)