📅  最后修改于: 2022-03-11 14:45:47.236000             🧑  作者: Mango
代码示例1
# Function that returns idx of true in
return_idx = lambda bool_lis: list(filter(lambda i: bool_lis[i], range(len(bool_lis))))