DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python while loop
i
=
1
while
i
<=
4
:
print
(
i
)
i
=
i
+
1
print
(
"Done"
)
i
=
1
while
i
<=
5
:
print
(
"@"
*
i
)
i
=
i
+
1
print
(
"Done"
)
Source by www.programiz.com #
PREVIOUS
NEXT
Tagged:
#python
#loop
ADD COMMENT
Topic
COMMENT
Name
5+8 =
Submit