python输出1-100之间能被3整除不能被5整除的数
for i in range(1, 101): if i % 3 == 0 and i % 5 != 0: print(i)
有帮助请采纳,有问题继续交流,你的采纳是对我回答的最大的肯定和动力