"""The different kinds of errors you can have in a program""" # python will only run programs that are syntactically correct # i.e. have no syntax errors # if you type the following into the python interpreter you # will get a syntax error print 1 1 # Runtime error - your program tried to do something wrong while running # This yields what's called an exception # Example: division by 0 print 1 / 0 # Semantic errors - your program is not doing what you thought it should print 1 / 2