def from_ranker(self,cards): return [''.join(ranker.convert(c)) for c in cards]
def to_ranker(self,cards): res = [tuple(list(x)) for x in cards] return [ranker.convert(c) for c in res]