Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

making lists in python

# list with numbers
list = [10, 20, 30]
# list with strings
list = ["john", "kai", "albert"]
# mixed data
list = ["john",1 ,True ]
Source by www.howtouselinux.com #
 
PREVIOUS NEXT
Tagged: #making #lists #python
ADD COMMENT
Topic
Name
4+8 =