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 Respuestas
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