🌈 搜索
📅  最后修改于: 2022-03-11 14:46:23.895000             🧑  作者: Mango
oldlist = [1,2,3] newlist = [i * 2 for i in oldlist] print(newlist) # >>> [2, 4, 6]