At Wednesday 29/11/2006 06:48, B Shyam Sundar wrote:
I am a newbie as far as python is concerned ... I am trying to write
a code for playing bridge in obj oriented manner ..
Well ... i have this small problem:
class hand:
def __init__(self,set_of_cards=[]):
self.set_of_cards=set_o
Hi all,
I am a newbie as far as python is concerned ... I am trying to write a code
for playing bridge in obj oriented manner ..
Well ... i have this small problem:
class hand:
def __init__(self,set_of_cards=[]):
self.set_of_cards=set_of_cards
card_played_flag =0
def play(played_