Computer Science, asked by rayniranjan, 1 year ago

What is the difference between string,list and dictionary in python with each explanation thnxx

Answers

Answered by sundarkum71
3

Answer:

string are colection or setmof characters. any number of valid characters into a set of quotation marks. it is immutable type i.e which cannot change their value in place.

lists represent a list of comma-separated values of any datatype between square brackets. it is mutable i.e which can change their value in place.

dictonary is unordered set of comma-separated key:value pairs, within { }.   it is mutable type in which values can be changed.

Similar questions