-
-
Save ageorgou/7cdb4622d8ec53271de2620e936fd692 to your computer and use it in GitHub Desktop.
A sample solution for representing the group of acquaintances (not the only solution!)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group = { | |
"Jill": { | |
"age": 26, | |
"job": "biologist", | |
"relations": { | |
"Zalika": "friend", | |
"John": "partner" | |
} | |
}, | |
"Zalika": { | |
"age": 28, | |
"job": "artist", | |
"relations": { | |
"Jill": "friend" | |
} | |
}, | |
"John": { | |
"age": 27, | |
"job": "writer", | |
"relations": { | |
"Jill": "partner" | |
} | |
}, | |
"Nash": { | |
"age": 34, | |
"job": "chef", | |
"relations": { | |
"John": "cousin", | |
"Zalika": "landlord" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment