Python Python Basics Functions and Looping Create a Function

Yemurai Ngoma
Yemurai Ngoma
2,420 Points

return function

how do i solve this one?
def square (number):
    square = number * number
    return(square, number)

1 Answer

Ken Alger
Ken Alger
Treehouse Teacher


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

You are super close!!! Keep at it.