my English is not very good,so if I couldn't explain the question clearly,please forgive me. I downloaded the Geany directly and used it without any setting(because there are always something wrong and I can't solve the problem. I input code in geany,then copy and paste the in the python. then……
Asked
Active
Viewed 175 times
-2
-
3Not again... do not post **images** of code, post **code** itself... – Willem Van Onsem Oct 23 '17 at 16:22
2 Answers
1
Lines in the interpreter run one at a time.
Write a command, press Enter to execute it, and then write the next.

Neo
- 3,534
- 2
- 20
- 32
0
It seems that you are posting the two instructions at once instead the firs instruction (the assignment) and the the second one (the print) but I'm not sure how you can do this. I'd suggest putting them copying and pasting first one, then the other.

fernand0
- 310
- 1
- 10