def __init__(self, n, s, str_image_on, parent): PlayingCard.__init__(self, n, str_image_on, parent) self.__suit = s self.rank = n if n > 10: self.set_point(n - 9.5)
def __init__(self, str_image_on, parent): PlayingCard.__init__(self, 0, str_image_on, parent, 4.5, 1)