'''x = 0
while (x <= 5):
    print(x)
    x += 1
'''
'''x = 10
while (x <= 5):
    print(x)
    x += 1
'''

# infinite loops
'''x = 10
while (True):
    print(x)
    x += 1
'''
'''while(1):
    print('This is an infinite loop')
'''

'''x = 0
add = 0
while (x < 10):
    add = add + x
    x += 1
else:
    print('Sum of the first 9 digits are: ', add)
'''
'''x = 0
add = 0
while (x < 10):
    add += x
    x += 1

    if x == 5:
        print('Sum of the first 5 digits are: ', add)
        break
'''
