Changeset 6.1.51


Ignore:
Timestamp:
08/21/2016 04:21:55 AM (8 years ago)
Author:
David Owen <dsowen@fugue88.ws>
branch-nick:
state
revision id:
dsowen@fugue88.ws-20160821042155-0jwibuaj9okml4ly
Message:

Moved code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main.py

    r6.1.50 r6.1.51  
    5757
    5858    def get_proposed_team(self, team_size):
    59         return self.players[self.captain].propose_team(team_size)
     59        print("Captain is {}".format(self.captain))
     60        team = self.players[self.captain].propose_team(team_size)
     61        print("He proposed {}".format(team))
     62        return team
    6063
    6164
     
    7881
    7982    def do(self):
    80         print("Captain is {}".format(self.shared.captain))
    8183        team = self.shared.get_proposed_team(self.team_size)
    82         print("He proposed {}".format(team))
    8384
    8485        votes = [p.approve_team(team) for p in self.shared.players]
Note: See TracChangeset for help on using the changeset viewer.