0
list
File "./Playground/file0.py", line 1 >>>2**5 ^ SyntaxError: invalid syntax Why I am not getting proper output? what should I do so?
6 ответов
+ 1
2**5 is fine.
did you type >>> in the script? remove it and try it again
+ 1
>>> is printed only in the console, it is not part of the syntax itself
0
But this is >>> must to use in python know
0
PRIYANKA K , It is must when you use console, not on a real program.
And secondly you shall do this with print function...
0
thank you guys
0
welcome