First time here? Checkout the FAQ!
x
0 votes
327 views
asked in Python Interview Questions by (1.4k points)  
  

1 Answer

0 votes
answered by (1.4k points)  
List Tuple
Lists are mutable i.e they can be edited.   Tuples are immutable (tuples are lists which can't be edited).
Lists are slower than tuples.  Tuples are faster than list. 
Syntax: list_ 1 = [10, 'Chelsea', 20) Syntax: tup_ 1 = (10, 'Chelsea' , 20) 

Related questions

...