DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
unpacking tuples in python
>>
>
def
f
(
)
:
return
1
,
2
>>
>
a
,
b
=
f
(
)
>>
>
a
1
>>
>
b
2
Source by openbookproject.net #
PREVIOUS
NEXT
Tagged:
#unpacking
#tuples
#python
ADD COMMENT
Topic
COMMENT
Name
8+4 =
Submit