Question
Exercise 6-7: People: In Exercise 6-1, you used a dictionary to store information about a person you know, where you store their first name, last
Exercise 6-7: People: In Exercise 6-1, you used a dictionary to store information about a person you know, where you store their first name, last name, age, and the city in which they live. Also, you had keys such as first_name, last_name, age, and city. In this exercise, make two new dictionaries representing different people, and store all three dictionaries in a list called people. Loop through your list of people. As you loop through the list, print everything you know about ------------------------------------------------------------ Exercise 6-8: Pets: Make several dictionaries, where the name of each dictionary is the name of a pet. In each dictionary, include the kind of animal and the owners name. Store these dictionaries in a list called pets. Next, loop through your list and as you do print everything you know about each pet.
i need the answers fast please in python
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started