What is the differe…
 
Notifications
Clear all

What is the difference between list and tuples in Python?

1 Posts
2 Users
0 Likes
556 Views
0
Topic starter

 What is the difference between list and tuples in Python?

1 Answer
0

The primary difference between tuples and lists is that tuples are immutable as opposed to lists which are mutable. Therefore, it is possible to change a list but not a tuple. The contents of a tuple cannot change once they have been created in Python due to the immutability of tuples.

 

Share: