[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 04:23:09 +00:00
parent 2faf238491
commit 668ddd5e05

View File

@ -1,7 +1,7 @@
def dencrypt(s: str) -> str:
"""
Applies ROT13 encryption or decryption to the input string.
Example usage:
>>> msg = "My secret bank account number is 173-52946 so don't tell anyone!!"
>>> encrypted = dencrypt(msg)
@ -20,6 +20,7 @@ def dencrypt(s: str) -> str:
result.append(c)
return "".join(result)
def main() -> None:
s0 = input("Enter message: ")
@ -32,5 +33,6 @@ def main() -> None:
if __name__ == "__main__":
import doctest
doctest.testmod()
main()