1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
ZeroDivisionError
Raised by a division in which the divider is zero or indistinguishable from zero (/, //, and %).
ValueError
Raised by the use of values that are inappropriate in the current context, such as int(''), when a function receives an argument of a proper type, but its value is unacceptable.
TypeError
Raised by attempts to apply data of a type that cannot be accepted in the current context, for example, int(None).
AttributeError
Raised when the code tries to activate a method that doesn't exist in a certain item, such as the_list.apend() (note the typo!).
SyntaxError
Raised when the control reaches a line of code that violates Python's grammar, and which has remained undetected until now.
NameError
Raised when the code attempts to make use of a non-existent (not previously defined) item, such as a variable or a function.