![ana9340](/avatars/33356.jpg)
ana9340
28.02.2020 •
Computers and Technology
Make a dictionary called cities.(code in python)
Use the names of three cities as keys in your dictionary.
Create a dictionary of information about each city and include the country that the city is in, its approximate population, and one fact about that city.
Print the name of each city and all of the information you have stored about it.
Solved
Show answers
More tips
- C Computers and Internet Е-head: How it Simplifies Life for Users?...
- F Family and Home How to Choose the Best Diapers for Your Baby?...
- F Family and Home Parquet or laminate, which is better?...
- L Leisure and Entertainment How to Properly Wind Fishing Line onto a Reel?...
- L Leisure and Entertainment How to Make a Paper Boat in Simple Steps...
- T Travel and tourism Maldives Adventures: What is the Best Season to Visit the Luxurious Beaches?...
- H Health and Medicine Kinesiology: What is it and How Does it Work?...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
Answers on questions: Computers and Technology
- E English from forth the fatal loins of these two foes (5) what literary device is included in this line, and why might shakespeare have included it? the alliteration in this line emphasizes...
- M Mathematics Solve for x: 3 x + 3 6 6 x 9 6 x 9 0 x 3 0 x 3...
- E English Noun name idea you cannot usually see...
- M Mathematics answer the questions quick plz 3 rlly quick one pleas hurry and answer correctly will give brainliest right ! 1.which term names the process when a eukaryotic cell s genetic material...
- H History Which of the following suggested that the second great awakening caused american southerners to defend slavery more strongly during the 19th century? a) many southern baptists were...
- E English 1. the verb play is: a. irregular b. regular c. todos d. ninguno 2. put the reflexive pronouns: daniel is looking at himself on the mirror a. myself b. itself c. himself d. yourself...
- C Chemistry Answer if you know any of the answers to 5 30 points...
- E English the rifle flashed out with a loud report, and the great tawny beast sprang to one side and then rolled over in the stillness of death. in a moment a crowd of excited natives had...
- G Geography What idea is the driving force of the free enterprise system?...
- H History Which statement makes a true comparison of the 1824 and 1828 elections? the losers in 1824 were the main candidates for president in 1828. sectional divisions were appearing in 1824...
Ответ:
cities = {
'New York': ['United States', 8620000, 'Fact 1'],
'Paris': ['France', 2140000, 'Fact 2'],
'London': ['England', 8140000, 'Fact 3'],
}
for city in cities:
print("City:", cities[city][0])
print("Population:", cities[city][1])
print("Fact:", cities[city][2])
print()
Explanation:
Ответ: