Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python easy while loop

countdown = 10
while countdown >= 0:
  print(countdown)
  countdown -= 1
print("We have liftoff!")
Source by www.codecademy.com #
 
PREVIOUS NEXT
Tagged: #python #easy #loop
ADD COMMENT
Topic
Name
2+2 =