Practice Makes Perfect 6/19


#1

Hi, can someone help me to rectify my mistakes? :blush:

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

#2

I don't see anything obviously wrong, but I have no clue what's supposed to happen. In what way does your code act differently from what you want, what are we looking for?

Your indentation doesn't show up, that's a problem since it's part of the code.


#19