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


#1



https://www.codecademy.com/courses/python-beginner-c7VZg/1/5?curriculum_id=4f89dab3d788890003000096


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)
    else:
        return False
by_three(300)


#2

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)

#3

problem solved
u're amazing!
thank u!


#4