PdfPrep.com

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: B

Explanation:

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

Exit mobile version