题解 | 牛牛数数
牛牛数数
https://www.nowcoder.com/practice/03a3cc96fa4847b387bf58bb800d67cf
别用我这种做法
for i in range(1,int(input())+1):
if i % 4 != 0 and "4" not in str(i):
print(i)
牛牛数数
https://www.nowcoder.com/practice/03a3cc96fa4847b387bf58bb800d67cf
别用我这种做法
for i in range(1,int(input())+1):
if i % 4 != 0 and "4" not in str(i):
print(i)
相关推荐