Computer Science, asked by kritipareek0, 4 months ago

how are list different from string . explain giving suitable example​

Answers

Answered by as1209sheela
2

Answer:

Strings can only consist of characters, while lists can contain any data type. Because of the previous difference, we cannot easily make a list into a string, but we can make a string into a list of characters, simply by using the list() function. ... Strings are immutable, meaning that we cannot update them.

Answered by XxSilentAgent47xX
0

Answer:

Strings can only consist of characters, while lists can contain any data type. Because of the previous difference, we cannot easily make a list into a string, but we can make a string into a list of characters, simply by using the list() function. ... Strings are immutable, meaning that we cannot update them

Explanation:

here is your answers

Attachments:
Similar questions