nerdexam
Python_Institute

PCAP-31-03 · Question #56

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

Sign in or unlock PCAP-31-03 to reveal the answer and full explanation for question #56. The question stem and answer options stay visible for context.

Technology and architecture

Question

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

Options

  • A10
  • Bthe variable becomes unavailable
  • C11
  • D9

Unlock PCAP-31-03 to see the answer

You've previewed enough free PCAP-31-03 questions. Unlock PCAP-31-03 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#for loop#variable scope#loop execution#Python control flow
Full PCAP-31-03 Practice