DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python tuple first column
>>> r=(1,'one'),(2,'two'),(3,'three') >>> zip(*r) [(1, 2, 3), ('one', 'two', 'three')]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#tuple
#column
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit