- 博客(1)
- 收藏
- 关注
原创 python遍历所有可能的24点结果
operator_list = ["+","-","*","/"] operator_sort = ["((aeb)fc)gd","(aeb)f(cgd)","(ae(bfc))gd","ae((bfc)gd)","ae(bf(cgd))"] all = set() def check(item, option,selected): if len(selected) == 4: item = item.replace("a",selected[0]) item =
2022-03-15 14:39:48 932 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人