diy2.py 108 Bytes Edit 1 2 3 4 5 a=input("请输入若干整数") list=a.split(" ") for i in list: if int(i)%2==0: print(i)