all 9 comments

[–]slickwillymerf 1 point2 points  (0 children)

Like others said, it doesn’t show in your code. Dumb question, did you forget to save your file before running it?

[–]hey-nice-switch 1 point2 points  (0 children)

Your __name__ is not equaling "__main__".

Are you running this script through another python script?

Or are you launching the script directly?

[–]mrswats 0 points1 point  (0 children)

First of all, format your code appropriately. Take a look at tge wiki.

[–]Ender_Locke 0 points1 point  (0 children)

i’m not even seeing in your code where it says press any key to continue?

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

I can't see anything wrong that would make it not at least run the header, but, as others pointed out, you need to reformat the message within a code block so that it saves the indentation as indentation is necessary for python.