6-1. Person: Use a dictionaryto store information about a person you know. Store their firstname, last name, age, and the city in which they live. You shouldhave keys such as first_name, last_name, age, and city. Print eachpiece of information stored in your dictionary. 6-2. Favorite Numbers: Use adictionary to store people’s favorite numbers. Think of five names,and use them as keys in your dictionary. Think of a favorite numberfor each person, and store each as a value in your dictionary.Print each person’s name and their favorite number. For even morefun, poll a few friends and get some actual data for yourprogram. 6-3. Glossary: A Pythondictionary can be used to model an actual dictionary. However, toavoid confusion, let’s call it a glossary. Think of five programming words you’ve learned about in theprevious chapters. Use these words as the keys in your glossary,and store their meanings as values. Print each word and its meaning as neatly formatted output. Youmight print the word followed by a colon and then its meaning, orprint the word on one line and then print its meaning indented on asecond line. Use the newline character (n) to insert a blank linebetween each word-meaning pair in your output. . . .

"Get 15% discount on your first 3 orders with us"
Use the following coupon

Order Now