Quiz
Python Error Messages Quiz
…– NameError, TypeError, ValueError, IndexError, KeyError, IndentationError and ZeroDivisionError.
3 results
Quiz
…– NameError, TypeError, ValueError, IndexError, KeyError, IndentationError and ZeroDivisionError.
Challenge
An oxygen check uses = instead of == and has a line that isn't indented, so Python refuses to run it. Predict what happens, fix both errors one after the other, then write an if/else check yourself.
Challenge
The flight log script won't run. Read the error message, go straight to the line it names and fix it. Learn to debug Python syntax errors the way programmers do.