Basic Python Hello World Program Syntax Error

后端 未结 5 1179
自闭症患者
自闭症患者 2020-12-12 01:17

I am not that really new in Programming but in Python I am really a newbie, and so when I started learning Python from the tutorials they encouraged me to use the IDLE edito

5条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-12 01:43

    IF you have copy-pasted the code from a CHM / PDF file then be aware of the quotes. What appears as single / double quotes in the pdf is not treated as quotes in the text editor/shell etc.

    type out the code on the py shell. it should work!

提交回复
热议问题