add doc in ex04

This commit is contained in:
hugogogo
2025-10-26 17:33:51 +01:00
parent be2442e222
commit bce4015ad4

View File

@@ -6,6 +6,7 @@ def check_parity(args: list[str]):
return
arg = args[0]
# https://docs.python.org/3.10/tutorial/errors.html
try:
number = int(arg)
except ValueError: