Question
Write the difference between the list and string.

Answer

List are mutable and strings are immutable. Lists can be of any type of data i.e. integers, characters, strings etc, while strings can only hold a set of characters.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free