InterviewSolution
Saved Bookmarks
| 1. |
What are the advantages of Tuples over a list? |
|
Answer» 1. The elements of a list are changeable (mutable) whereas the elements of a tuple are unchangeable (immutable), this is the key difference between tuples and list. 2. The elements of a list are enclosed within square brackets. But, the elements of a tuple are enclosed by paranthesis. 3. Iterating tuples is faster than list. |
|