Difference between tuples and lists.

Question

How does a tuple differ from a list?

in progress 0
YashikaKhurana 4 years 1 Answer 687 views Master 0

Answer ( 1 )

  1. Both tuples and lists are sequential data structures. However, lists are immutable whereas tuples are not. Also, lists use square brackets, unlike tuples.

Leave an answer

Browse
Browse