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

2 lines
60 B
Python
Raw Normal View History

2017-06-08 21:45:05 +02:00
sum([x for x in range(1,1000) if x % 5 == 0 or x % 3 == 0])