# 暴力枚举 from itertools import permutations card = ['A','2','3','4','5','6','7','8','9','10','J','Q','K'] order = range(1,14) card_order = dict(zip(card,order)) opts = ["+", "-", "*", "/"] def cal(a1,a2,opt): if opt == 0: return a1+a2 elif opt == 1: return a1-a2 elif opt == 2: return a...