Python Python Basics Functions and Looping Create a Function

store variable in

squaring.py
def square(number):
    return number*number

result = square(5)
print(result)

1 Answer

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 49,975 Points

For task 2 you are to pass in the argument 3. You have 5.