Tuple1 5. Python collection type - Tuple 1. Tuple A tuple is an immutable collection with ordered elements that can store values of various data types. Immutable: After creating tuples, elements cannot be added, deleted, or modified. Efficient: Tuples are more memory-efficient than lists, particularly aiding in performance enhancement when data is infrequently modified. 1-1. Creation Tuple is created using parentheses (), and each item.. 2024. 3. 14. 이전 1 다음