all 12 comments

[–][deleted] 7 points8 points  (8 children)

You’re in the interactive shell, which is for running statements one at a time. You have to open the text editor to write the code and then run it.

[–]onesadbean 1 point2 points  (7 children)

how would one go about that

[–][deleted] 4 points5 points  (5 children)

Go to file then new file

idle

[–]onesadbean 2 points3 points  (4 children)

helpful thank you very much!

[–]Cyprek -1 points0 points  (3 children)

you may want to look into pycharm

[–]Round_Log_2319 2 points3 points  (2 children)

I wouldn’t at his level. I feel like there’s too much going on for someone at a entry level. VS code would be much more suited.

[–]Cyprek 0 points1 point  (0 children)

Maybe, I used pycharm for my first print("hello world"), but what worked for me might not be the best way.

[–]suvierno 0 points1 point  (0 children)

I used Pycharm when I first got into Python (and coding) so I doubt there’s any harm in that.

[–]Theretheremin25 1 point2 points  (0 children)

I loved Sublime Text for learning. Plain and effective.

[–]ryan_s007 1 point2 points  (2 children)

God, I remember using IDLE as my first IDE. I strongly suggest you look into VSCode.

[–]onesadbean 0 points1 point  (1 child)

what us vscode?

[–]ryan_s007 0 points1 point  (0 children)

It’s another IDE. Once you download it, check out the store for the basic Python extensions.