mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-27 15:01:08 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
81d83abda9
commit
4ac6b3f0f9
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user