a=[i for i in range(200,501) if i%50 or i%70]
print(a)
输出200到500之间能被5或者7 整除的数
猜你喜欢
转载自blog.csdn.net/YPL_ZML/article/details/87885225
今日推荐
周排行