From 92d58b7109f529a0ba950acc5050a7d3d1fda4c2 Mon Sep 17 00:00:00 2001 From: Srivaishnavi Yaddanapudi <127314796+Y-Srivaishnavi@users.noreply.github.com> Date: Tue, 29 Oct 2024 17:21:43 +0530 Subject: [PATCH] Add `.split --- ciphers/rot13.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ciphers/rot13.py b/ciphers/rot13.py index bd6b2ac89..60a380ef3 100644 --- a/ciphers/rot13.py +++ b/ciphers/rot13.py @@ -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__":