i=1
while(i <= 6):
    print(i)
    i +=1

#using flag t stop looping
i = ""
name = "Write any name. \n"

while(i != 'q'):
    i = input(name)

#infinite loop
#the loop that doesnot stop,

j=1
while(j <= 6):
    user = input("What is your name?")
    print("You inserted " + user)

    if(user == "John"):
        break
    elif( user == "Mic"):
        continue
    j+= 1


981e18875ab6b36378e7fe90a593206cf7967a11
<mask token>

<mask token>
while i <= 6:
    print(i)
    i += 1
<mask token>
while i != 'q':
    i = input(name)
<mask token>
while j <= 6:
    user = input('What is your name?')
    print('You inserted ' + user)
    if user == 'John':
        break
    elif user == 'Mic':
        continue
    j += 1

i = 1
while i <= 6:
    print(i)
    i += 1
i = ''
name = 'Write any name. \n'
while i != 'q':
    i = input(name)
j = 1
while j <= 6:
    user = input('What is your name?')
    print('You inserted ' + user)
    if user == 'John':
        break
    elif user == 'Mic':
        continue
    j += 1

i=1
while(i <= 6):
    print(i)
    i +=1

#using flag t stop looping
i = ""
name = "Write any name. \n"

while(i != 'q'):
    i = input(name)

#infinite loop
#the loop that doesnot stop,

j=1
while(j <= 6):
    user = input("What is your name?")
    print("You inserted " + user)

    if(user == "John"):
        break
    elif( user == "Mic"):
        continue
    j+= 1

