🌈 搜索
📅  最后修改于: 2022-03-11 14:45:28.940000             🧑  作者: Mango
>>> [a if a else 2 for a in [0,1,0,3]] [2, 1, 2, 3]