for i in range(1,101): #报了100次数 if i%3==0 and i%10!=0: print(i%10) elif i%3==0 and i%10==0: print(10)