x = 0
while (x < 10):
    # do something
    x += 1

print(x)
# 10