mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-25 18:38:39 +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)
|
out.append(c)
|
||||||
return "".join(out)
|
return "".join(out)
|
||||||
|
|
||||||
|
|
||||||
def main() -> None:
|
def main() -> None:
|
||||||
s0 = input("Enter message: ")
|
s0 = input("Enter message: ")
|
||||||
|
|
||||||
@ -34,7 +35,9 @@ def main() -> None:
|
|||||||
s2 = dencrypt(s1)
|
s2 = dencrypt(s1)
|
||||||
print("Decryption:", s2)
|
print("Decryption:", s2)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
import doctest
|
import doctest
|
||||||
|
|
||||||
doctest.testmod()
|
doctest.testmod()
|
||||||
main()
|
main()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user