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
Science,
2 months ago
Math,
2 months ago
Social Sciences,
4 months ago
English,
4 months ago
Math,
10 months ago