class Card:
    """One gaming card"""
    Ranks=["T","2","3","4","5","6","7",
            "8","9","10","J","Q","K"]
    #213
    Suits=[u'\u2660',u'\u2663',u'\u2665',u'\u2666']

    def __init__(self,rank,suit):
        self.rank=rank
        self.suit=suit

    def __str__(self):
        rep=self.rank+self.suit
        return rep
class Hand:
    """ Hand: Cads which lies on hand of one player"""
    def __init__(self):
        self.cards=[]

    def __str__(self):
        if self.cards:
            rep=""
            for card in self.cards:
                rep+=str(card)+"\t"
        else:
            rep="<None>"
        return rep
    def clear(self):
        self.cards=[]
    def add(self,card):
        self.cards.append(card)
    def give(self,card,other_hand):
        self.cards.remove(card)
        other_hand.add(card)
card1=Card(rank="I",suit=Card.Suits[0])
print("print on screen object-card")
print(card1)
card2=Card(rank="2",suit=Card.Suits[0])
card3=Card(rank="3",suit=Card.Suits[0])
card4=Card(rank="4",suit=Card.Suits[0])
card5=Card(rank="5",suit=Card.Suits[0])
print("\nPrint four cards too")
print(card2)
print(card3)
print(card4)
print(card5)
my_hand=Hand()
print('\nPrint cards which in my hand before giveaway')
print(my_hand)

my_hand.add(card1)
my_hand.add(card2)
my_hand.add(card3)
my_hand.add(card4)
my_hand.add(card5)
print("\nPrint five cards which appeared in my hand")
print(my_hand)
your_hand=Hand()
my_hand.give(card1,your_hand)
my_hand.give(card2,your_hand)
print("\nFirst of my two cards i gave you")
print("Now these cards in your hands")
print(your_hand)
print("in my hands")
print(my_hand)
my_hand.clear()
print("n\In my hand after that i put all cards")
print(my_hand)
cbd00236f9add254abe01d70b27ab40894b5eaca
<mask token>


class Hand:
    """ Hand: Cads which lies on hand of one player"""

    def __init__(self):
        self.cards = []

    def __str__(self):
        if self.cards:
            rep = ''
            for card in self.cards:
                rep += str(card) + '\t'
        else:
            rep = '<None>'
        return rep

    def clear(self):
        self.cards = []

    def add(self, card):
        self.cards.append(card)

    def give(self, card, other_hand):
        self.cards.remove(card)
        other_hand.add(card)


<mask token>

class Card:
    <mask token>
    <mask token>
    <mask token>
    <mask token>
    <mask token>


class Hand:
    """ Hand: Cads which lies on hand of one player"""

    def __init__(self):
        self.cards = []

    def __str__(self):
        if self.cards:
            rep = ''
            for card in self.cards:
                rep += str(card) + '\t'
        else:
            rep = '<None>'
        return rep

    def clear(self):
        self.cards = []

    def add(self, card):
        self.cards.append(card)

    def give(self, card, other_hand):
        self.cards.remove(card)
        other_hand.add(card)


<mask token>

class Card:
    <mask token>
    Ranks = ['T', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']
    Suits = [u'♠', u'♣', u'♥', u'♦']

    def __init__(self, rank, suit):
        self.rank = rank
        self.suit = suit

    def __str__(self):
        rep = self.rank + self.suit
        return rep


class Hand:
    """ Hand: Cads which lies on hand of one player"""

    def __init__(self):
        self.cards = []

    def __str__(self):
        if self.cards:
            rep = ''
            for card in self.cards:
                rep += str(card) + '\t'
        else:
            rep = '<None>'
        return rep

    def clear(self):
        self.cards = []

    def add(self, card):
        self.cards.append(card)

    def give(self, card, other_hand):
        self.cards.remove(card)
        other_hand.add(card)


<mask token>

class Card:
    """One gaming card"""
    Ranks = ['T', '2', '3', '4', '5', '6', '7', '8', '9', '10', 'J', 'Q', 'K']
    Suits = [u'♠', u'♣', u'♥', u'♦']

    def __init__(self, rank, suit):
        self.rank = rank
        self.suit = suit

    def __str__(self):
        rep = self.rank + self.suit
        return rep


class Hand:
    """ Hand: Cads which lies on hand of one player"""

    def __init__(self):
        self.cards = []

    def __str__(self):
        if self.cards:
            rep = ''
            for card in self.cards:
                rep += str(card) + '\t'
        else:
            rep = '<None>'
        return rep

    def clear(self):
        self.cards = []

    def add(self, card):
        self.cards.append(card)

    def give(self, card, other_hand):
        self.cards.remove(card)
        other_hand.add(card)


<mask token>
print('print on screen object-card')
print(card1)
<mask token>
print("""
Print four cards too""")
print(card2)
print(card3)
print(card4)
print(card5)
<mask token>
print("""
Print cards which in my hand before giveaway""")
print(my_hand)
my_hand.add(card1)
my_hand.add(card2)
my_hand.add(card3)
my_hand.add(card4)
my_hand.add(card5)
print("""
Print five cards which appeared in my hand""")
print(my_hand)
<mask token>
my_hand.give(card1, your_hand)
my_hand.give(card2, your_hand)
print("""
First of my two cards i gave you""")
print('Now these cards in your hands')
print(your_hand)
print('in my hands')
print(my_hand)
my_hand.clear()
print('n\\In my hand after that i put all cards')
print(my_hand)

class Card:
    """One gaming card"""
    Ranks=["T","2","3","4","5","6","7",
            "8","9","10","J","Q","K"]
    #213
    Suits=[u'\u2660',u'\u2663',u'\u2665',u'\u2666']

    def __init__(self,rank,suit):
        self.rank=rank
        self.suit=suit

    def __str__(self):
        rep=self.rank+self.suit
        return rep
class Hand:
    """ Hand: Cads which lies on hand of one player"""
    def __init__(self):
        self.cards=[]

    def __str__(self):
        if self.cards:
            rep=""
            for card in self.cards:
                rep+=str(card)+"\t"
        else:
            rep="<None>"
        return rep
    def clear(self):
        self.cards=[]
    def add(self,card):
        self.cards.append(card)
    def give(self,card,other_hand):
        self.cards.remove(card)
        other_hand.add(card)
card1=Card(rank="I",suit=Card.Suits[0])
print("print on screen object-card")
print(card1)
card2=Card(rank="2",suit=Card.Suits[0])
card3=Card(rank="3",suit=Card.Suits[0])
card4=Card(rank="4",suit=Card.Suits[0])
card5=Card(rank="5",suit=Card.Suits[0])
print("\nPrint four cards too")
print(card2)
print(card3)
print(card4)
print(card5)
my_hand=Hand()
print('\nPrint cards which in my hand before giveaway')
print(my_hand)

my_hand.add(card1)
my_hand.add(card2)
my_hand.add(card3)
my_hand.add(card4)
my_hand.add(card5)
print("\nPrint five cards which appeared in my hand")
print(my_hand)
your_hand=Hand()
my_hand.give(card1,your_hand)
my_hand.give(card2,your_hand)
print("\nFirst of my two cards i gave you")
print("Now these cards in your hands")
print(your_hand)
print("in my hands")
print(my_hand)
my_hand.clear()
print("n\In my hand after that i put all cards")
print(my_hand)