add doc in ex04
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user