Function, Practice Makes Perfect


#1

I've been trying to do this now for a few days to no joy. It looks right to me and don't know what the error code means (Cube1) ? any help would be appreciated but could you explain what was wrong with so I can understand where I went wrong. Thanks in advance

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

#3
def cube(number):
 return cube(number)

I personally do not understand what you want to do this function. Can you explain what it is doing?