Lesson 6/19, Help Understanding Error


#1

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)
    else:
        return false

print by_three(9)

Thanks!


#2

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


#3

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.