DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python make a list of odd numbers
odd_list = [] for a in range(10): if a % 2 != 0: odd_list.append(a) print(odd_list)
PREVIOUS
NEXT
Tagged:
#python
#list
#odd
#numbers
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit