# PCAP — Question 602

**Type:** multiple_choice
**Topics:** topic_1

## Question

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

## Correct Answer

_See scenario._

## Explanation

initially i value is 0, while condition fails as not equal to 0 So, it enters into else block and execute the increment statement. Now i become 1

**Reference:** examtopics_top_comment

---
Source: https://hiexam.net/q/python-institute/PCAP/602  
Practice (tracked): https://hiexam.net/study/PCAP/practice