I am stuck please help


Hello I am stuck at Functions

This is what it said Oops, try again. by_three(1) returned None, did you remember to return the result?

I tried something else but it also didn't work

Replace this line with your code. 
def cube(number):
    return number**3
def by_three(number):
    if number % 3 == 0: 
        return cube(number)
    else :


else :

Flase what? you just said False.you didn't give any instruction to it.


so what do I need to do



did you remember to return the result?

so what do you think?what do you need to do?


thanks for helping me now I did it


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.