Source

JythonBook / src / chapter11 / Player.py

Full commit
Josh Juneau d9b2bb8 








class Player:

    def __init__(self, id, first, last, position):
        self.id = id
        self.first = first
        self.last = last
        self.position = position
        
    def add_assist(self):
        self.assists = assists + 1