print ("exercise 6 part one")

'''x = 123
for i in x:
    print(i)'''

print ("It shows error as x is int cann't take place of range")

print("\n exercise 6 part two")

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

    if i == 3:
        break
    else:
        print ("Error")    

output = "0 Error 1 Error 2"

print("\n exercise 6 part three")

count = 0

while True:
    print(count)

    count +=1

    if count >= 5:
        break

# It will print the numbers from 0 to 4 and after that it will break as if statement will be true