Splotch_ PPro Student 2,656 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 43,507 Points
The challenge specifies the parameter name is "number" but I think it works either way.
def square(number): return (number * number)