Packing & Unpacking
1. What is a tuple in Python? Tuples are a fundamental data structure in Python used to store collections of items. Unlike lists, tuples are immutable, meaning their contents cannot be modified after they are created. This immutability allows Python to optimize their internal storage, making tuples highly efficient in terms of memory consumption and…