What's the mistake here?


def cube(number):
return number**3

def by_three(number):
if number % 3 == 0:
return cube(number)
print "input a number multicable by 3"

But I am getting "Oops, try again. by_three(1) returned None, did you remember to return the result?"

Whats the mistake here I cannot understand, please help

Need help in Practice Makes Perfect

This line is not asked for. All we need here is,

    return False