On 1/19/2011 1:09 PM Jacob Bender said...
def display_board(self):
print self.board_table % self.board[:]

Self.board is a list, but the formatting substitution needs to be passed a tuple. Try:

print self.board_table % tuple(self.board)

Emile

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to