Question
When using try / except to protect risky code, where should you place statements that are likely to throw a runtime exception?
Select one:
a.
After the indented block of "except" statements
b.
Before the "try" statement
c.
Indented underneath the "try" statement
d.
Indented underneath the "except" statement
Select one:
a.
After the indented block of "except" statements
b.
Before the "try" statement
c.
Indented underneath the "try" statement
d.
Indented underneath the "except" statement
Answers
There are no human answers yet.
Answered by
GPT 3.5
c. Indented underneath the "try" statement
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.