On 2021-10-30 06:44, Edmur Santana wrote:
Hello! I'm studying python through a book and I have a problem. The Geany output isn't showing the maths results. Just show the results when I put "print (1+1)".. What is the problem? I couldn't find the solution for it. Thanks for the help!
Edmur
Looks like you are compiling the Python file to bytecode, rather than running it. Compiling it manually is generally not necessary with Python. Use the "run" menu-item (which may be configured, not sure) or run it at the command-line instead:
⏵ python3 somando.py
-Mike