Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

iterate a list of tuples

#listOfTuples =  [("hello", 1)]
for k, v in listOfTuples:
	print(k , v)
#output : hello 1
Source by www.kite.com #
 
PREVIOUS NEXT
Tagged: #iterate #list #tuples
ADD COMMENT
Topic
Name
6+5 =