Practice makes perfect


#1

Oops, try again. by_three(1) returned 1 instead of False
I keep getting this and I dont know what I did wrong, I dont know what to do, please help!

def cube(number):
return number**3

def by_three(number):
if (number % 3):
return cube(number)

else:
    return False

cube(9)

`


#2

to check if a number is divisible by 3, the remainder of the number divided by 3 should equal zero. The equal zero bit is missing in your case


#3

Thank you so much, I got it


#4