编辑器
newlist = [x for x in range(10) if x < 5] print(newlist)
[0,1,2,3,4]