I need help with Python Lesson Functions no.6 Practice Makes Perfect


#1

This is my Code:
def cube(number):
return (number)**3

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


#2

def cube(number):
return number ** 3

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

I hope this works


#3

you need indentations though