Computer Science - Text-Based Programming - Python - Exception handling (try-except) - Error Spotter
Students categorize 12 Python errors into their types. Items: '1/0' → ZeroDivisionError. 'int("hello")' → ValueError. 'my_list[99]' → IndexError. 'print(undefined_var)' → NameError. 'open("fake.txt")' → FileNotFoundError. '"5" + 5' → TypeError. '{}.pop("key")' → KeyError. 'import fake_module' → Modu