Python_Institute
PCAP-31-03 · Question #157
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:
Options
- Aprint 0
- Bcause a runtime exception
- Cprints 3
- Dprint an empty line
How the community answered
(29 responses)- A7% (2)
- B72% (21)
- C17% (5)
- D3% (1)
Community Discussion
No community discussion yet for this question.