Splotch_ PPro Student 2,657 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)
KRIS NIKOLAISEN54,192 Points
The challenge specifies the parameter name is "number" but I think it works either way.
def square(number): return (number * number)
You need to
return allows you to return the data for further processing.