[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-10-28 12:26:43 +00:00
parent 81d83abda9
commit 4ac6b3f0f9

View File

@ -25,6 +25,7 @@ def dencrypt(s: str) -> str:
out.append(c)
return "".join(out)
def main() -> None:
s0 = input("Enter message: ")
@ -34,7 +35,9 @@ def main() -> None:
s2 = dencrypt(s1)
print("Decryption:", s2)
if __name__ == "__main__":
import doctest
doctest.testmod()
main()