Why does this code work here on SoloLearn but not on desktop Python 3.7.3 interpreter? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why does this code work here on SoloLearn but not on desktop Python 3.7.3 interpreter?

I cannot get this code to output correctly in my desktop Python 3.7.3 interpreter. What am I doing wrong? https://code.sololearn.com/cD6CODl0X754/?ref=app

11th Jun 2019, 3:07 AM
Ryan Garza
1 Answer
+ 1
Thank you for your help. I was just about to throw in the towel. I did some researching on what you said and I know now what I need to do to run the full program. It says I need to open a new file save my file as a .py file and then run it. The output will be shown in the Python shell. (Should*). Is this correct?
11th Jun 2019, 3:26 PM
Ryan Garza