At control structure level of learning python,my system started and keeps giving output prematurely,what mistake are my making? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

At control structure level of learning python,my system started and keeps giving output prematurely,what mistake are my making?

Python console issues on PC

23rd Dec 2017, 7:07 AM
Charles Uche-Iromaka
Charles Uche-Iromaka - avatar
2 Answers
+ 1
If you're using IDLE it is an interactive IDE when used in its default shell mode. The window will usually say Shell at the top and you'll enter code at a prompt that looks like >>> Try creating a module File > New File. Type your code into the file then save it File > Save and then run it Run > Run Module. This will then run the code in the shell.
23rd Dec 2017, 8:41 AM
ChaoticDawg
ChaoticDawg - avatar
+ 1
Thanks,that helped
23rd Dec 2017, 9:53 AM
Charles Uche-Iromaka
Charles Uche-Iromaka - avatar