Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

While Loop with if else

c=0
while c < 10:
    if c!=5:
        print(c)
    else:
        print("FIVE")
    c+=1
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #While #Loop
ADD COMMENT
Topic
Name
7+3 =