from re import T import sys porker = {'J':'11','Q':'12','K':'13','A':'1'} def check(numlist, res, sym): if len(numlist)==0: if res == 24: return True, sym else: return False, sym else: allflag = False for i in range(len(numlist)): ...