Having some trouble, would appreciate some help.
def cube(n): return n**3 def by_three(n): return n % 3 if n % 3 == 0: return cube(n) else: return False
The error message says, "Oops, try again. by_three(1) returned 1 instead of False"
Replace this line with your code.