Learn practical skills, build real-world projects, and advance your career
Created 3 years ago
!pip install jovian --upgrade --quiet
import jovian
DICTIONARY
Dictionaries are used to store data values in key:value pairs.
A dictionary is a collection which is unordered, changeable and does not allow duplicates.
my_dictionary={
"brand" : "Ford",
"model" : "Mustang",
"year" : 1964
}
print(my_dictionary)
{'brand': 'Ford', 'model': 'Mustang', 'year': 1964}
In case of duplicates, latest value assigned is stored