Unpacking
Python tuples are immutable means that they can not be modified in the whole program. Packing and Unpacking a Tuple: In Python, there is a very powerful tuple assignment feature that assigns right-hand side of values into the left-hand side. In another way, it is called unpacking of a tuple of values into a variable
If we leave like this, it could be a complex formula
So we can see the results
We can use unpacking in List as well
Unpacking
Reviewed by ohhhvictor
on
May 07, 2019
Rating:
No comments: