1.

What is unpacking of tuple with example?

Answer» Packing and Unpacking a Tuple :\xa0In Python there is a very powerful tuple assignment feature that assigns right hand side of values into left hand side. In other way it is called unpacking of a tuple of values into a variable. In packing, we put values into a new tuple while in unpacking we extract those values into a single variable.


Discussion

No Comment Found