Stuck in 6.practice makes perfect


#1

Whats wrong in this and also popps up INDENTATION error Few times


#3

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

else:
    False

ERROR
Oops, try again. by_three(1) returned None, did you remember to return the result?


#5

Oops !! Thank you
Works !!! :smiley: