Adopted new convention from template

This commit is contained in:
David Doblas Jiménez 2022-10-03 16:07:13 +02:00
parent 7771280215
commit 08ca75445f

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""
Created on 25 Jul 2022
@ -31,9 +31,9 @@ def compute():
cube_str = "".join(sorted(list(str(number**3))))
cubes[cube_str].append(number**3)
if len(cubes[cube_str]) == 5:
return min(cubes[cube_str])
if __name__ == "__main__":
print(f"Result for Problem {int(62):003d}: {compute()}")
print(f"Result for Problem 62 is {compute()}")