Lesson 6/19, Help Understanding Error


I would like some help determining where my code is wrong. Please just give me hints if possible..

Here is what I have so far:

def cube(number):
    return  number**3

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

print by_three(9)



tried your code. I simply changed the 'false' to False and it worked


Oh wow. That's kind of funny. I felt pretty confident it was something obvious, but not THIS obvious.

Thanks for pointing that out!

Lesson learned...probably.