DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
6+5 =
Submit