Stuck on 6 practice makes perfect


this is my code it keeps giving me an error on line 7 invalid syntax
heres my code

def cube(number):
    return cube(number ** 3)
def by_three(number):
    if number % 3 == 0:
        print True
    return cube(number ** 3)
return False


Check the indentation on return

return False


thanks im good now thanks a lot


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