for i in range(7): print(D1.draw()) print(D1.get_ranks()) print(CardDeck.get_ranks()) print("=" * 40) J1 = JokerDeck("Beulah") print(J1) J1.shuffle() print(J1.cards) print(JokerDeck.mro()) J1.register_scores() J1.doit() print(J1.dealer_name) print(len(D1), len(J1)) print(dir(object)) print(sys.getsizeof(object)) print(sys.getsizeof(J1)) print(D1, J1) NEW_DECK = D1 + J1 print(NEW_DECK) print(len(NEW_DECK))
c1.shuffle() print(c1.cards, '\n') for i in range(7): print(c1.draw()) print() j1 = JokerDeck('Anushka') j1.shuffle() print(j1.cards) for i in range(3): print(j1.draw()) print(JokerDeck.mro()) j1.doit() print(len(c1), len(j1)) # print(CardDeck.__len__(c1)) print(c1) # print(str(c1)) print(j1) print(repr(c1)) print(repr(j1)) x = c1 + j1 print(x) print(repr(x))