This repository has been archived on 2024-01-26. You can view files and clone it, but cannot push or open issues or pull requests.
project-euler/e0001/euler0001.py

1 line
60 B
Python

sum([x for x in range(1,1000) if x % 5 == 0 or x % 3 == 0])