+2 votes
in Class 12 by kratos

How are lists different from strings when both are sequences ?

1 Answer

+3 votes
by kratos
 
Best answer

The lists and strings are different in following ways :

(a) The lists are mutable sequences while strings are immutable.

(b) Strings store single type of elements, all characters while lists can store elements belonging to different types.

(c) In consecutive locations, strings store the individual characters while list stores the references of its elements.

...