Adopted new convention from template

This commit is contained in:
David Doblas Jiménez 2022-10-02 18:50:30 +02:00
parent e8d85bdd0e
commit e0dd2faa94

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
"""
Created on 26 Sep 2021
@ -22,7 +22,7 @@ def compute():
and 6x, contain the same digits.
"""
for number in range(123456, 1_000_000):
for number in range(123_456, 1_000_000):
if (
sorted(str(number))
== sorted(str(2 * number))
@ -35,5 +35,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 52: {compute()}")
print(f"Result for Problem 52 is {compute()}")