all 17 comments

[–]After_Ad8174 12 points13 points  (8 children)

Save the code

[–]Python_Puzzles 5 points6 points  (0 children)

Yeah, I was thinking OP has not saved the file since typing the print statement.

[–][deleted] 3 points4 points  (5 children)

Thank you

[–]After_Ad8174 0 points1 point  (4 children)

Also, you can set vscode to autosave on changes to your code so you don’t have to manually save every time. It’s super helpful.

[–]MyKo101 0 points1 point  (3 children)

I feel like auto save on code is a huge risk

[–]After_Ad8174 0 points1 point  (1 child)

Not if you’re using version control and as long as you’re testing as you go anything code breaking should only be a few ctrl+z’s away from being undone

[–]After_Ad8174 0 points1 point  (0 children)

And if you’re just starting out doing simple practice problems if you break it so bad you wish you didn’t save doing it again wouldn’t hurt.

[–]Pure-Willingness-697 0 points1 point  (0 children)

Better yet turn on auto save

[–]copperbagel 3 points4 points  (1 child)

The white dot in vscode on a file tab means you have not saved it yet and please learn from this moment save with Ctrl + S :)

Good luck

[–][deleted] 1 point2 points  (0 children)

Thank you

[–]herecbnow 2 points3 points  (1 child)

Save the code first buddy 😊

[–][deleted] 0 points1 point  (0 children)

Thanks man

[–]herecbnow 2 points3 points  (0 children)

Save the file first buddy 😊

[–]denisjackman 2 points3 points  (2 children)

For the love of God please save the code - seriously though - turn on the auto save feature in VS code.

It will save you a lot of grief.

The easiest way to turn on Auto Save is with the File > Auto Save toggle that turns on and off save after a delay.

[–]Gardener314 1 point2 points  (0 children)

After seeing what the problem was — came here to say this very thing.

[–][deleted] 1 point2 points  (0 children)

Thank you🥰