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

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

A . 10
B . the variable becomes unavailable
C . 11
D . 9

Answer: D

Explanation:

Reference: https://www.programiz.com/python-programming/pass-statement

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments