A List in Python is an ordered, mutable, heterogeneous sequence of elements enclosed in square brackets (`[...]`):
- Heterogeneous: Can contain mixed data types: `items = [101, "Aarav", 98.5, True, [1, 2]]`.
- Mutable: Elements can be altered, appended, inserted, or removed in-place without changing the list's physical memory address (`id()` remains constant).
In-Place Item Assignment Proof:
nums = [10, 20, 30]
print("Initial id:", id(nums)) # e.g., 0x7ffd10
nums[1] = 99 # In-place assignment!
print(nums) # [10, 99, 30]
print("Post-update id:", id(nums)) # EXACT SAME ID! Memory block was mutated in-place.