From 4fcad74a50364331da839734bc6ecf285d6f72d5 Mon Sep 17 00:00:00 2001 From: thrisha586 Date: Sun, 26 Oct 2025 13:20:29 +0530 Subject: [PATCH] Update Problem 2.py --- Problem 2.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Problem 2.py b/Problem 2.py index ca8cfd2..09f889b 100644 --- a/Problem 2.py +++ b/Problem 2.py @@ -1,3 +1,3 @@ -a=input("Enter Your String : ").split() -for i in a: +b=input("Enter Your String : ").split() +for i in b: print(i[::-1],end=" ")