Learn practical skills, build real-world projects, and advance your career
Updated 3 years ago
!pip install jovian --upgrade --quiet
import jovian
x = "32"
print(float(x))
32.0
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}