Python_Institute
PCAP-31-03 · Question #101
What is the expected behavior of the following code? It will:
The correct answer is B. cause a runtime exception. See the full explanation below for the reasoning.
Question
What is the expected behavior of the following code? It will:
Exhibit
Options
- Aprint 0
- Bcause a runtime exception
- Cprints 3
- Dprint an empty line
How the community answered
(26 responses)- A4% (1)
- B73% (19)
- C15% (4)
- D8% (2)
Community Discussion
No community discussion yet for this question.
