s = [0,'A','2','3','4','5','6','7','8','9','10','J','Q','K'] # 使用深度优先搜索,按照全排列的方式进行加减乘除 def fun(x,visited,temp,res): if not any(visited): if res == 24: return True else: return False for i in range(4): if visited[i]: visited[i] = F...