Python Python Basics Functions and Looping Create a Function

Yemurai Ngoma
Yemurai Ngoma
2,420 Points

return function

how do i solve this one?

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

1 Answer

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Yemurai;

The challenge is only asking for the squared number to be returned, not the number itself.

You are super close!!! Keep at it.

Ken