Computer Science, asked by ronitrai0088, 7 months ago


a) List one similarity and one difference between List and String datatype.​

Answers

Answered by kanishka12679
5

Answer:

Strings and lists are similar, but they are not same and many people don't know the main difference between a string and a list in python. One simple difference between strings and lists is that lists can any type of data i.e. integers, characters, strings etc, while strings can only hold a set of characters.

Explanation:

I hope it is helpfull for you

please follow me

Similar questions