scripts/ege/28.03.2023 ПРОБНИК/Faily_IN11_28032023_/25.py

15 lines
254 B
Python
Raw Normal View History

2023-05-05 00:45:01 +03:00
res = []
for x in range(0, 1001):
for y in range(10):
if x == 1000:
rx = ""
else:
rx = x
r = int(f"123{rx}4{y}5")
if r % 3013 == 0:
res.append(r)
print(sorted(res))