Search
 
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
Name
2+7 =