Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

While Loop with if else

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