'practice makes perfect' have no idea what's wrong



Traceback (most recent call last):
File "python/cli_runner.py", line 152, in

have no idea what's wrong
is there anyone who can help me ? Thanks a lot!

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


Hi @boardpro99467,

Make sure that the colon at the end of this line is valid ...

    if number % 3 == 0:

Also, when you call the by_three function, display the result, as follows ...

print by_three(300)


problem solved
u're amazing!
thank u!