6. practice makes perfect...i sure hope so!


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


Hi @steevlin,

You have ...

if n % 3 == 0:

The variable that you need to access there is the by_three function parameter, which is number, rather than n.


ah, yes, thank you! i did indeed realize this right after posting!