6/19 help please


#1

def cube(number):
return number * number * number

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

It says my code has infinite loops! I'm not sure why


#2

It's because in the first return you have the variable being defined inside of it.


#3

you put 'return False' which it created the loop