Dictionary in Python
Dictionary: A Dictionary is a mutable data type. It is group of comma separated key:value pairs enclosed with curly bracket {}.
Example-
dict = {1:"Ram",2:"Rita",3:"Rohan"}
Dictionary: A Dictionary is a mutable data type. It is group of comma separated key:value pairs enclosed with curly bracket {}.
Example-
dict = {1:"Ram",2:"Rita",3:"Rohan"}