Untitled
Anonymous
python
02/13/2024 8:13 PM
252 B
14
Indexable
n = int(input())
for i in range(100, n + 1):
a = max(i % 10, 1)
b = max((i % 100) // 10, 1)
c = i // 100
if i % a == 0 and i % b == 0 and i % c == 0:
print(i)Editor is loading...
Leave a Comment