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