Packing & Unpacking in python
# we can unpack iterables to variables in a single assignment using automatic unpacking. Below is an example of unpacking:
a, b, c = [1, 2, 3]
print(a)
print(b)
print(c)
"""
1
2
3
"""
# we can also collect several values into a single variable using * this Python trick is called packing. Below is an example of packing:
a, b* = 1, 2, 3
print(a, b)
"""
1 [2, 3]
"""?