mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-02-17 06:48:09 +00:00
Add `.split
This commit is contained in:
parent
2bef9b9cb3
commit
92d58b7109
|
@ -27,13 +27,13 @@ def apply_rot13(s: str) -> str:
|
|||
|
||||
|
||||
def main() -> None:
|
||||
s0 = input("Enter message: ")
|
||||
s0 = input("Enter message: ").strip()
|
||||
|
||||
s1 = apply_rot13(s0)
|
||||
print("Encryption:", s1)
|
||||
|
||||
s2 = apply_rot13(s1)
|
||||
print("Decryption: ", s2)
|
||||
print("Decryption:", s2)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in New Issue
Block a user