Questions about dictionaries. | SoloLearn: Learn to code for FREE!

+2

Questions about dictionaries.

This question might be long. So thanks in advance for anyone who helps out. Question: 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 owner’s 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. Again thanks for putting up to this really appreciate any kind of help

5/26/2018 3:58:13 AM

Andrews Essilfie

8 Answers

New Answer

+6

Looks interesting, I can have a go.

+5

https://code.sololearn.com/cpE03rtWJVic/?ref=app Doned

+4

Jan Markus its not a homework. am really serious about becoming a programmer. am reading a book and the question above was asked.

+3

Pegasus thanks. i saw what you did there. i remeber similar example.🙏🏾

+1

i did a previous guestion. but i think i didnt do it like i was aksed in the book https://code.sololearn.com/cwj9qEC6SlT8/?ref=app

0

I think you should rather use classes.

0

https://code.sololearn.com/cUpg1Ddkok0e/?ref=app

0

Seb TheS Thanks, that one is way to adavanced for me now at the moment Am not on classes yet.