Input not working when run
Answered
Im trying to learn python and going along with a tutorial online. first thing they have me doing is input ("enter your name: ")
when i run this its coming back as Hi, Pycharm...
did i do something wrong?
Please sign in to leave a comment.
Hi,
Could you attach a screenshot of your run configuration (Run | Edit Configurations...) along with a screenshot of the file you want to run?
So as you can see you are not running your file. PyCharm uses the previous run configuration.
You can right-click the file and choose Run... to let PyCharm automatically create a run configuration for the current file.
See https://www.jetbrains.com/help/pycharm/running-applications.html for more details.
Wow, sorry to waste your time! the tutorial i watched was just like " press the play button on the top"
Thank you very much for your help.