Difference between tuples and lists.

Question

How does a tuple differ from a list?

in progress 0
YashikaKhurana 55 years 1 Answer 696 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