I couldn't find anyone else that has the same problem as I did. I've tried using other examples on this forum and everyone else's code looks exactly like mine so I'm not sure what is causing the issue. I appreciate the help!
I'm receiving the following error:
cube(1) returned 27 instead of 1
The coding appears to be correct and should give me a pass but it's not.
def cube(number): return 3 ** 3 def by_three(number): if number % 3 == 0: return cube(number) else: return False