Carsten Haese wrote: > assert current_player in p > opponents = tuple(x for x in p if x is not current_player)
That would perform better as:
opponents = tuple(x for x in p if x is not current_player)
assert opponents
Tim Delaney
--
http://mail.python.org/mailman/listinfo/python-list
