Using CONTINUE and BREAK keywords in Python

 

i=0
while True:
    if i == 13:
        i+=1
        continue
    print(i)
    i+=1
    if i == 28:
        break




Comments

Popular posts from this blog

Quotation marks to wrap an element in HTML

The "content" property in CSS

Guess The Number Game - You vs. Your Friend