输出200到500之间能被5或者7 整除的数

a=[i for i in range(200,501) if i%50 or i%70]
print(a)

猜你喜欢

转载自blog.csdn.net/YPL_ZML/article/details/87885225