DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python countdown from 20 down to 0
x = 20 while True: print(x) x -= 1 if x == 0: break for x in range(20, 1): print(x)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#countdown
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit