What is wrong with my code


#1

def cube(n):
return n **3

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

   cube(10)

#2

Try replacing 'number' with 'n'.