a) List one similarity and one difference between List and String datatype.
Answers
Answered by
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
Math,
3 months ago
Art,
3 months ago
Social Sciences,
7 months ago
Chemistry,
11 months ago
Math,
11 months ago