# 6/19

#1

need help I don't know what to do and don't understand it. Get to me ASAP because i'm at school doing this

#2

srry couldn't get to you quicker, was at school and work

``````def cube(number):
result = number**3 <---- create a variable called result and set it equal to number**3
return result <---- returns the above function

def by_three(number):
if (number % 3 == 0): <---- checks if the number from above when divided by 3 if the remainder is equal to 0(so 5 % 2 == 1, since 2 goes into 5, 2 times, and has 1 left over. or, 10 % 2 == 0 since 2 goes into 10, 5 times with 0 left)
return cube(number)
else:
return False``````

#3

I did this but it keeps saying " Oops, try again. by_three(1) returned 'False' instead of False" What have I done wrong?

def cube(number):
return number ** 3

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

#4

False is a boolean value not a string, so just remove the quotes.

#5

thank you man really good help

#6

i did the same thing but without the quotation marks on the return statements and it worked.

#7