Arun Nair wrote: > self.suit = suit > self.rank = rank > self.suit = ["None","Clubs","Diamonds","Hearts","Spades"] > self.rank = ["zero", "Ace", "2", "3", "4", "5", "6", "7", "8", "9", > "10", "Jack", "Queen", > "King"]
hint: what happens if two variables have the same name ? can Python magically figure out which one you mean when you try to use one of them, or does something else happen? > File "D:\Charles Sturt University\ could you perhaps ask your advisors to drop by and tell us why he/she expects us to do their job ? </F> -- http://mail.python.org/mailman/listinfo/python-list