write a python program to create a dictionary of 5 elements -city name as keys and population as values .Also print the all the elements of dictionary
Answers
Answered by
0
cities = {
"Mumbai": 12422373,
"Delhi": 11007835,
"Bangalore": 8436765,
"Hyderabad": 6809970,
"Ahmedabad": 5570585
}
for k, v in cities.items():
print(f"{k}: {v}")
Similar questions
Biology,
2 months ago
English,
2 months ago
India Languages,
2 months ago
Social Sciences,
6 months ago
English,
6 months ago
Math,
11 months ago