Adopted new convention from template
This commit is contained in:
1 parent
e8d85bdd0e
commit
e0dd2faa94
1 file changed
+3
-4
@@ -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()}")
|
||||
Reference in new issue
Block a user