🌈 搜索
📅  最后修改于: 2022-03-11 14:46:51.227000             🧑  作者: Mango
>>> lst = [0, 1, 2, 3, 4, 5]>>> sum(n for n in lst if n % 2 != 0)9