📜  python list 在 1 行中迭代 - Python 代码示例
📅  最后修改于: 2022-03-11 14:46:06.340000             🧑  作者: Mango
代码示例1
mylist = [1,4,5,8,9,11,13,12]
newlist = [x for x in mylist if x%2 == 1]
print(newlist)