Your browser does not support JavaScript!
Please enable JavaScript to use the full functionality of the site.
Without JavaScript, you will not be able to expand the content tables in the PD Materials Page and CSP Index Page.

PD4CS

Professional Development for CS Principles Teaching

Log in

Menu

Skip to content
  • Home
  • CSP Index
  • PLTW Index
  • Resources
  • About

Home » Debugging » Common Error Messages in Python

Common Error Messages in Python

Listed below are examples about common error messages in Python. The icon video included in the hover-over text means there are video(s) included in the post.
  • SyntaxError: invalid syntax
  • SyntaxError: EOL while scanning string literal
  • IndentationError
  • NameError: name 'luck_number' is not defined
  • IndexError: list index out of range
  • ZeroDivisionError: integer division or modulo by zero
  • TypeError
  • ImportError: No module named randon

Recently visited pages

  • SyntaxError: EOL while scanning string literal
nsf1 This work is supported by the National Science Foundation under grant number 1502462. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation"
Proudly powered by WordPress | If you have questions, please contact PD4CS Research Team