0
Syntax
when trying to run the simple calculations from step 2 of python concepts on my pc, I get a syntax error relating to >>> . what am I doing wrong? Without it, the calculation returns nothing, but runs without error. edit: when I run it I the shell, rather than in a new file, it works. why is this? What is the point of new files, then? I'm obviously new to python, so any info about how the shell operates would be greatly appreciated!
2 Respostas
+ 8
>>> is just what the console uses
don't use it in files, or at all really
+ 1
thanks! wish the tutorials explained that a bit better, but hey, that's what the discussions are for!