add doc in ex04
This commit is contained in:
@@ -6,6 +6,7 @@ def check_parity(args: list[str]):
|
|||||||
return
|
return
|
||||||
|
|
||||||
arg = args[0]
|
arg = args[0]
|
||||||
|
# https://docs.python.org/3.10/tutorial/errors.html
|
||||||
try:
|
try:
|
||||||
number = int(arg)
|
number = int(arg)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Reference in New Issue
Block a user