-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTeam.py
More file actions
29 lines (26 loc) · 716 Bytes
/
Team.py
File metadata and controls
29 lines (26 loc) · 716 Bytes
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
28
29
class Team:
def __init__(self, teamID, name, conference, division, rank, wins, losses, location):
self.teamID = teamID
self.name = name
self.conference = conference
self.division = division
self.rank = rank
self.wins = wins
self.losses = losses
self.location = location
def getID(self):
return teamID
def getName(self):
return name
def getConference(self):
return conference
def getDivision(self):
return division
def getRank(self):
return rank
def getWins(self):
return wins
def getLosses(self):
return losses
def getLocation(self):
return location