Lеt's create function to play cards. Our rules:
We have the preloaded `deck`:
```
deck = ['joker','2♣','3♣','4♣','5♣','6♣','7♣','8♣','9♣','10♣','J♣','Q♣','K♣','A♣',
                '2♦','3♦','4♦','5♦','6♦','7♦','8♦','9♦','10♦','J♦','Q♦','K♦','A♦',
                '2♥','3♥','4♥','5♥','6♥','7♥','8♥','9♥','10♥','J♥','Q♥','K♥','A♥',
                '2♠','3♠','4♠','5♠','6♠','7♠','8♠','9♠','10♠','J♠','Q♠','K♠','A♠']
```
We have 3 arguments:
`card1` and `card2` - any card of our deck.
`trump` - the main suit of four ('♣', '♦', '♥', '♠').
If both cards have the same suit, the big one wins.
If the cards have different suits (and no one has trump) return 'Let's play again.'
If one card has `trump` unlike another, wins the first one.
If both cards have `trump`, the big one wins.
If `card1` wins, return 'The first card won.' and vice versa.
If the cards are equal, return 'Someone cheats.'
A few games:
```
('3♣', 'Q♣', '♦') -> 'The second card won.'
('5♥', 'A♣', '♦') -> 'Let us play again.'
('8♠', '8♠', '♣') -> 'Someone cheats.'
('2♦', 'A♠', '♦') -> 'The first card won.'
('joker', 'joker', '♦') -> 'Someone cheats.'
```
P.S. As a card you can also get the string 'joker' - it means this card always wins.
def card_game(card_1, card_2, t):
    if card_1 == card_2:
        return "Someone cheats."
    if card_1 == 'joker':
        return "The first card won."
    if card_2 == 'joker':
        return "The second card won."
    f_val = lambda v: int(v) if v.isdigit() else 10 + ' JQKA'.index(v)
    c1, t1 = f_val(card_1[:-1]), card_1[-1]
    c2, t2 = f_val(card_2[:-1]), card_2[-1]
    if t1 in [t, t2]:
        return f'The {["first", "second"][t2 == t1 and c2 > c1]} card won.'
    return "The second card won." if t2 == t else "Let us play again."
def card_game(card_1, card_2, t):
    if card_1 == card_2:
        return "Someone cheats."
    if card_1 == 'joker':
        return "The first card won."
    if card_2 == 'joker':
        return "The second card won."
    f_val = lambda v: int(v) if v.isdigit() else 10 + ' JQKA'.index(v)
    c1, t1 = f_val(card_1[:-1]), card_1[-1]
    c2, t2 = f_val(card_2[:-1]), card_2[-1]
    if t1 in [t, t2]:
        return f'The {["first", "second"][t2 == t1 and c2 > c1]} card won.'
    return "The second card won." if t2 == t else "Let us play again."