We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afe5152 commit 9b4858dCopy full SHA for 9b4858d
chapters/chapter09_error_handling/exercises/exercise_67.py
@@ -14,10 +14,10 @@ def process_strings(strings: list[str]):
14
# Operation 2: Access First Character
15
print(f"First character of '{string}' is '{string[0]}'")
16
17
- except ValueError as e:
+ except ValueError:
18
print("TODO: Cannot convert to integer")
19
20
- except IndexError as e:
+ except IndexError:
21
print("TODO: Cannot access first character")
22
23
if exceptions:
0 commit comments