def cube (number) : return number**3 def by_three(number)： if (number % 3==0): return cube(number) else: return False print by_three(6) However,I don't know where I was Wrong.The progress tells me there is something wrong. Traceback (most recent call last): File "python/cli_runner.py", line 152, in <module>
what you have at the end, is not a colon (it should be a colon)
Sorry,I do not understand.
Thanks .Just I make it.You are right.
what character did you use? (good you fixed it )
I use the chinese format.
I am afraid that won't work. Now you know so, so you should be able to prevent repeat
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.