Fix formatting for printing

This commit is contained in:
David Doblas Jiménez 2021-10-18 10:11:28 +02:00
parent e086121975
commit 15adc3ea0e
9 changed files with 9 additions and 10 deletions

View File

@ -55,4 +55,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 51: {compute()}")
print(f"Result for Problem {int(51):003d}: {compute()}")

View File

@ -33,4 +33,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 52: {compute()}")
print(f"Result for Problem {int(52):003d}: {compute()}")

View File

@ -41,4 +41,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 53: {compute()}")
print(f"Result for Problem {int(53):003d}: {compute()}")

View File

@ -134,4 +134,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 54: {compute()}")
print(f"Result for Problem {int(54):003d}: {compute()}")

View File

@ -63,4 +63,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 55: {compute()}")
print(f"Result for Problem {int(55):003d}: {compute()}")

View File

@ -35,4 +35,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 56: {compute()}")
print(f"Result for Problem {int(56):003d}: {compute()}")

View File

@ -47,4 +47,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 57: {compute()}")
print(f"Result for Problem {int(57):003d}: {compute()}")

View File

@ -53,4 +53,4 @@ def compute():
if __name__ == "__main__":
print(f"Result for Problem 58: {compute()}")
print(f"Result for Problem {int(58):003d}: {compute()}")

View File

@ -61,7 +61,6 @@ def compute():
return sum([ord(c) for c in decrypted])
if __name__ == "__main__":
print(f"Result for Problem 59: {compute()}")
print(f"Result for Problem {int(59):003d}: {compute()}")