DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python list of whole numbers
x_arr = [i for i in range(N)] # say N is a whole number # the list would be from 0 to N-1
PREVIOUS
NEXT
Tagged:
#python
#list
#numbers
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit