🌈 搜索
📅  最后修改于: 2022-03-11 14:45:21.312000             🧑  作者: Mango
def deco(func): def wrap(lst): x = [1 if i % 2 == 0 else 0 for i in lst] return x func(lst) return wrap @deco