Can you help me how to create a family-tree by using dictionaries in Python 3? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can you help me how to create a family-tree by using dictionaries in Python 3?

I am going to make a Family Tree.

28th May 2017, 5:22 AM
Bill Imus
Bill Imus - avatar
3 Answers
+ 2
in python?
27th May 2017, 6:12 AM
_Retr0/-
_Retr0/- - avatar
+ 2
This is a Coding platform OK 😤
27th May 2017, 6:12 AM
Ekansh
0
You should create a dictionary like this: {'Bill' : ('Mom', 'Dad'), 'Dad' : ('Grandma', 'Grandpa')} with names of your relatives instead of 'Mom', 'Dad'.
30th May 2017, 8:43 AM
Alexander Ryabchikov
Alexander Ryabchikov - avatar