GIAC
GPYC · Question #4
A user enters unexpected data into a program. Which functionality can the programmer use to present an understandable error message to the user?
The correct answer is B. Exception handling. You've hit your limit · resets 1pm (America/New_York)
Python Fundamentals & Command Line Tools
Question
A user enters unexpected data into a program. Which functionality can the programmer use to present an understandable error message to the user?
Options
- ACasting
- BException handling
- CDictionaries
- DRegular expressions
How the community answered
(45 responses)- A2% (1)
- B89% (40)
- C2% (1)
- D7% (3)
Explanation
You've hit your limit · resets 1pm (America/New_York)
Topics
#exception handling#error messages#user input
Community Discussion
No community discussion yet for this question.