Answers for "Tuples unpacking"

0

Tuples unpacking

>>> b = ("Bob", 19, "CS")
>>> (name, age, studies) = b    # tuple unpacking
>>> name
'Bob'
>>> age
19
>>> studies
'CS'
Posted by: Guest on October-05-2021

Python Answers by Framework

Browse Popular Code Answers by Language