+ 1

python

hey guys, I just wrote a simple code and here are the codes https://code.sololearn.com/cLTcG51LI22W/?ref=app so I saved the file in the desktop on my PC. when I click on it, It shows me a blank black page, and when I press a bottom like 'Enter' , the page disappeares and when I press F5 the characters that I just entered will be erased from the page. I just started to program for a week and I appreciate your help. I know this is a simple matter but I need an answer thanks

12th Jul 2020, 5:59 AM
reza mousavi
reza mousavi - avatar
1 Answer
+ 1
vs code ? try this while opening the code, goto terminal -> open terminal/spit terminal you'll see a command prompt/terminal show at the bottom click there then type python yourfilename.py
12th Jul 2020, 6:05 AM
Taste
Taste - avatar