Python_Institute
PCAP-31-03 · Question #21
What is the expected behavior of the following code?
The correct answer is B. it outputs 0. See the full explanation below for the reasoning.
Question
What is the expected behavior of the following code?
Exhibit
Options
- Ait outputs 1
- Bit outputs 0
- Cit raises an exception
- Dit outputs 2
How the community answered
(41 responses)- A7% (3)
- B71% (29)
- C2% (1)
- D20% (8)
Community Discussion
No community discussion yet for this question.
