docstr: In: e.g. [As, Ah, Kh, Qd, 9c]
docstr_tok: ["In",":","e.g",".","[","As",",","Ah",",","Kh",",","Qd",",","9c","]"]
code: def __init__(self, cards: list[str]):
      """In: e.g. [As, Ah, Kh, Qd, 9c]"""
      assert len(cards) == 5
  
      self.cards = {}
      for suit in "shdc":
          self.cards[suit] = sorted(
              card[0] for card in cards if card[1] == suit
          )
  
imports: from functools import total_ordering
  from itertools import combinations
  from typing import Literal, Union
label_desc: Use image node_id 1 to create a new PlayerCards object  with example: obj = PlayerCards(cards)