project-euler/001.py
2020-12-07 19:23:24 -06:00

1 line
68 B
Python

print(sum(filter(lambda c: c % 3 == 0 or c % 5 == 0, range(1000))))