project-euler-100

[RADIOACTIVE] solutions to the first 100 challenges of project euler
git clone git://git.figbert.com/project-euler-100.git
Log | Files | Refs | README

commit 7f3fe782c04d93ad76b58fb0eae68ee17b4d5c79
parent d4839fb3bb19dba2a2ab1a9d01b78c54758bbca8
Author: therealFIGBERT <figbertwelner@gmail.com>
Date:   Sat, 25 Jan 2020 18:47:07 -0800

Update solution to problem 1 to Python@3.8 syntax

Diffstat:
Mproblem001.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/problem001.py b/problem001.py @@ -5,7 +5,7 @@ # dateCompleted = "20/01/2020" def multOfThreeOrFive(num): - return num % 3 is 0 or num % 5 is 0 + return num % 3 == 0 or num % 5 == 0 def sumOfMultiplesOfThreeOrFive(num): lstOfMults = []