Adopted new convention from template

This commit is contained in:
David Doblas Jiménez 2022-09-30 21:08:04 +02:00
parent 48bd3200b0
commit 1b4f2f2fa6

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""
Created on 05 Jun 2021
@ -22,6 +22,7 @@ def compute():
For which value of p 1000, is the number of solutions maximised?
"""
ans, val = 0, 0
for p in range(2, 1001, 2):
sol = 0
@ -39,6 +40,6 @@ def compute():
return val
if __name__ == "__main__":
print(f"Result for Problem 39: {compute()}")
if __name__ == "__main__":
print(f"Result for Problem 39 is {compute()}")