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