<What do you expect to happen instead?>


def cube(number):
return number**3
def by_three (number):
if number/3==0:
return cube(number)
return False

it doesn't work. And help me



if number/3==0:

why do you use the division operator? To check if a number is divisible by 3 we need to use the modulo operator.


In Python we have two things that always confuses.

/ - This is division that gives you quotient
% - This is modulo operator that gives remainder after division.

To test if something is divided by some number ,It should leave remainder 0
so we need to find remainder?


Thank you , it's work