Questions about dictionaries. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

26th May 2018, 3:58 AM
Andrews Essilfie
8 Answers
+ 6
Looks interesting, I can have a go.
26th May 2018, 4:21 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
26th May 2018, 4:32 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 4
Jan Markus its not a homework. am really serious about becoming a programmer. am reading a book and the question above was asked.
26th May 2018, 4:32 AM
Andrews Essilfie
+ 3
Pegasus thanks. i saw what you did there. i remeber similar example.🙏🏾
26th May 2018, 4:38 AM
Andrews Essilfie
+ 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
26th May 2018, 4:37 AM
Andrews Essilfie
0
I think you should rather use classes.
26th May 2018, 1:26 PM
Seb TheS
Seb TheS - avatar
0
Seb TheS Thanks, that one is way to adavanced for me now at the moment Am not on classes yet.
26th May 2018, 3:41 PM
Andrews Essilfie