it says:

"if that number is divisible by 3, by_three should call cube(number) and return its result. Otherwise, by_three should return False." I don't know how to return its result

def cube(number):
    return cube

def by_three(number):
    if number/3:  
        #this is the place I need help on returning the result
        return False


You're very close; however, it is the remainder we need to test, not the quotient.

if number % 3 == 0:


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