Practice make perfect


#1

I need some help with that. This is my code

def cube(number):
return number**3

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

but not run.


#2
def cube(n):
    return n**3

is fine

as is your next function (given you have indented correctly) you just don't need the "" around false, should just be False

don't forget to print your function