Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Set up the friend group model #81

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion group.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,35 @@

# Your code to go here...

my_group =
my_group = {

"Jill" :

{'job': 'Biologist' ,
'age': '26',
'relations': {'Zalika': 'friend', 'John': 'Partner'}},

"Zalika" :

{'job': 'artist' ,
'age': '28',
'relations': {'Jill': 'friend'}},

"John" :

{'job': 'writer' ,
'age': '27',
'relations': {'Jill': 'Partner'}},

"Nash" :

{'job': 'chef' ,
'age': '34',
'relations': {'Zalika': 'landlord', 'John': 'cousin'}}


}

print(f"Zalika's age is: {my_group['Zalika']['age']}")
print(f"Nash's job is: {my_group['Nash']['job']}")
print(f"Relationship between Jill and John is: {my_group['Jill']['relations']['John']}")