def cube(number):

return number * number *number

def by_three(number):

if number % 3 == 0:

return by_three(cube(number))

else :

return False

please anyone can tell me what's wrong with my code? It says "The program took too long to finish. Check your code for infinite loops and try again." Many thanks!!

```
def cube(number):
return number * number *number
def by_three(number):
if number % 3 == 0:
return by_three(cube(number))
else :
return False
```