Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create python list

 pythonCopyl = []		# empty list
l = [2, 4, 6, 8]		# elements of same data type
l = [2, 'Python', 1+2j]		# elements of different data type
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #create #python #list
ADD COMMENT
Topic
Name
8+9 =