DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+7 =
Submit