create a function named square It should define a single parameter named number. In the body of the function, return..
...the square of the val that was passed in.
def square(number): return number ** 2
Sorry this was the question.. I guess I posted it wrong.
Create a function named square. It should define a single parameter named number. In the body of the function, return the square of the value that was passed in. (A *square is the value multiplied by itself. eg: The square of 5 is 25. 25 = 5 x 5)*
This is my code: def suqare(number): value = number * number