Python Python Basics Functions and Looping Create a Function

Olebogeng Nkele
Olebogeng Nkele
2,992 Points

Great now that you have created your new square method, let's put it to use. Under the function definition, call your

squaring.py
def square(number):
    result= (number * number)
    return (result)
 result= squre(3)

1 Answer

Olebogeng Nkele
Olebogeng Nkele
2,992 Points

oh ok, i just have to go through my work before i continue. Thank you