x = 1
while x < 5:
print(x)
x +=1
print("loop ended")
x = 1
while x < 5:
if x == 3:
break
print(x)
x += 1
x = 1
while x < 5:
print(x)
x += 1
else:
print("xxx")
x = 1
while x < 10:
print(x)
while x < 4:
print('we are at the very begining')
break
x+=1
else:
print('loop is great tool')