Tech Support Forum banner
1 - 5 of 5 Posts

· Registered
Joined
·
302 Posts
Discussion Starter · #1 ·
Hello,

I have Adult Attention Deficit Discorder and I am trying to do some catching up with things I need to learn while recuperating from major spine surgery. I am currently trying to see if audio books might be the key to unlocking my attention span problem with heavy duty printed text/tech books. So far the results seem good. I just tried my first line of code but it didn't work and I don't know why. Can someone please look at the screenshot and tell me where I went wrong?

The book was published in 2020 and stated they use Python 3.7 but the current version is 3.11 which is what I installed. Do you think that might have anything to do with me getting the error in the SS?

Font Screenshot Multimedia Display device Software


Thanks,
WndrWmn77
 

· Team Manager, Microsoft Support
Joined
·
34,039 Posts
By looking at the repeated line, you see where the error occurred.
 

· Registered
Joined
·
302 Posts
Discussion Starter · #3 ·
Hello,

I have Adult Attention Deficit Discorder and I am trying to do some catching up with things I need to learn while recuperating from major spine surgery. I am currently trying to see if audio books might be the key to unlocking my attention span problem with heavy duty printed text/tech books. So far the results seem good. I just tried my first line of code in the PyCharm IDE but it didn't work and I don't know why. When I typed the code into PyCharm and got to the last line indicating the actual print code to execute, what was supposed to be printed out did not come up on the screen - nothing came up at all. I had to right click on the executable print command line and select run which triggered the additional terminal pane to open up with the proper text printed out. When you are using an IDE and hit enter is that not supposed to "run" what is supposed to happen? Are you supposed to have to right click and run? Can someone please look at the screenshot and tell me where I went wrong?

The book was published in 2020 and stated they use Python 3.7 and are using the IDE called PyCharm but the current version is 3.11 which is what I installed.

Font Screenshot Computer Software Technology
 

· TSF Moderator , Hardware Team , Networking Team
Joined
·
12,061 Posts
Must wrap what you want printed with double-quote marks, like this:

print ("Using the terminal interpreter!")​

Not like this:

print (Using the terminal interpreter!")​
 
1 - 5 of 5 Posts
Top