用while循环 编写程序,输出1~100之间所有能被3整除,但是不能被5整除的数 Python
收起
i = 1 for i in range(1,100): if (i%3==0)&(i%5!=0): print(i)
报告相同问题?