nerdexam
Python_Institute

PCAP-31-03 · Question #54

What will be the value of the i variable when the while e loop finishes its execution?

The correct answer is A. 1. See the full explanation below for the reasoning.

Question

What will be the value of the i variable when the while e loop finishes its execution?

Exhibit

PCAP-31-03 question #54 exhibit

Options

  • A1
  • B0
  • C2
  • Dthe variable becomes unavailable

How the community answered

(18 responses)
  • A
    78% (14)
  • B
    6% (1)
  • C
    6% (1)
  • D
    11% (2)

Community Discussion

No community discussion yet for this question.

Full PCAP-31-03 Practice