While loop in python

 = int(input("Enter times of print: "))

= input("Enter the text: ")
= 0
while i<x:
    if i == 10:
        print("love")
        i= i+1
        continue
    elif i == 20:
        print("I am unable to print  more the this")
        i=i+1
        break
    print(str(i)+":",y)
    i=i+1



Comments