Adopted new convention from template
This commit is contained in:
parent
cb3381a0f6
commit
32a6034334
@ -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()}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user