Q55Automation and Artificial Intelligence
Which statements does Python use for error handling?
← → navigate · a answer
Community votes
Discussion · 5
8
Reference:
https://docs.python.org/3/tutorial/errors.html
"D"
2
The provided answer is correct
D 2
Selected Answer: D
tested in IDLE
2
"D"
https://www.w3schools.com/python/python_try_except.asp
D 2
Selected Answer: D
OCG CCNA Devnet
What if you wanted Python to show the users
what they did wrong and let them try again, or do
some other task to recover from the error? That is where
the try-except-else-finally code blocks come into play.