# while(condition for loop to be executed):
#     statements

i = 0
while(i<3):
    print(i)
    i = i+1

# i = 0
# 1st pass
# 0<3
#     print(0) -> 0
#     i = i+1 -> 1

# 2nd pass
# 1<3 True
#     print(1) -> 1
#     i = i+1 -> 2

# 3rd pass
# 2<3 True
#     print(2) ->2
#     i = i+1 -> 3

# 4th pass
# 3<3 False 
