Home > other >  [python] "jiujiu multiplication table output error!"
[python] "jiujiu multiplication table output error!"

Time:09-19

The original book, every word, so what went wrong?

CodePudding user response:

Just started to learn Python, encountered the same problem and the building Lord, try to answer the topic.
The building code to run after the error display should be "EOL while scanning a string literal"
Is the problem of single and double quotes, should end in the third line of code=behind is a pair of single quotes, or change to a pair of double quotes
In addition, the last line indentation should print function with the second line for loop alignment, and the function of the single quotes seem to be in Chinese format input, input format should be changed to English
  • Related