DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Loops with variables that count
n = 1 while n <= 5: print(n * 2) n = n + 1
Source by personal.math.ubc.ca #
PREVIOUS
NEXT
Tagged:
#Loops
#variables
#count
ADD COMMENT
Topic
COMMENT
Name
5+2 =
Submit