6/19 help please


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

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

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


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


you put 'return False' which it created the loop