Practise makes perfect


what is wrong with my code

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


the function by_three should be after (not inside) your cube function (hint: indention)

Also, if you want indention to show on the forum read this help topic:


Thank you, that helps me! and its solved !