Adopted new convention from template

This commit is contained in:
David Doblas Jiménez 2022-09-21 20:44:06 +02:00
parent cb3381a0f6
commit 32a6034334

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""
Created on 14 Mar 2017
@ -23,6 +23,7 @@ def compute():
Find the sum of all the even-valued terms in the sequence which do not
exceed four million.
"""
ans = 0
limit = 4_000_000
x, y = 1, 1
@ -37,5 +38,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for problem 2: {compute()}")
print(f"Result for problem 2 is {compute()}")