0

Python Multi-Line code?

How do I type in multiple lines of code in the Python console without it just executing the commands prematurely? Iā€™m new to all of this and Iā€™ve so far tried a ;\ method that didnā€™t work

16th Feb 2019, 8:42 PM
James Hasten
James Hasten - avatar
2 Answers
0
You are supposed to store code in a file, then run it. Shell's rather for testing something on the fly.
16th Feb 2019, 8:51 PM
HonFu
HonFu - avatar
0
How do I write the code in a file then? im sorry i sound like a noob, i just want the chance to play around with it a little bit to get used to it
16th Feb 2019, 8:52 PM
James Hasten
James Hasten - avatar