If you want to ensure user input is both numeric and within a specific range, which of the following types of code should be used in the validation?
Select one:
a.
Conditional logic only
b.
It's not possible to restrict numeric input to a range
c.
try / except protection only
d.
Both conditional logic and try / except protection
1 answer
d. Both conditional logic and try / except protection