Versuchen Sie es außer heben
try:
some_code_that_may_raise_our_value_error()
except ValueError as err:
print(err.args)
Tirbo06
try:
some_code_that_may_raise_our_value_error()
except ValueError as err:
print(err.args)