-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdata3.py
27 lines (22 loc) · 819 Bytes
/
data3.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
from person import Person
alice = Person(0, 'Alice')
bob = Person(1, 'Bob')
carlos = Person(2, 'Carlos')
carol = Person(3, 'Carol')
charlie = Person(4, 'Charlie')
chuck = Person(5, 'Chuck')
dave = Person(6, 'Dave')
eve = Person(7, 'Eve')
mallory = Person(8, 'Mallory')
peggy = Person(9, 'Peggy')
trent = Person(10, 'Trent')
victor = Person(11, 'Victor')
walter = Person(12, 'Walter')
a_team = Person(90, 'The A-Team', [alice, bob, carlos])
b_team = Person(91, 'The B-Team', [peggy, trent, victor])
c_team = Person(92, 'The C-Team', [charlie, eve, a_team])
a_team.members.append(b_team)
b_team.members.append(c_team)
people = [alice, bob, carlos, carol, charlie, chuck, dave, eve, mallory,
peggy, trent, victor, walter, a_team, b_team, c_team]
# c_team = [charlie, eve, alice, bob, carlos, peggy, trent, victor]