版本:Python 3.10.4
依赖
from functools import reduce
from itertools import permutations
主要代码(为了美观,将代码进行了回车,去掉换行后就是一行)
def check(a: int, b: int, c: int, d: int) -> list[str]:
return reduce(lambda x, y: x+y
版本:Python 3.10.4
依赖
from functools import reduce
from itertools import permutations
主要代码(为了美观,将代码进行了回车,去掉换行后就是一行)
def check(a: int, b: int, c: int, d: int) -> list[str]:
return reduce(lambda x, y: x+y