From e5002636ea47d54c1d42c94a97a47cc69c90c29f Mon Sep 17 00:00:00 2001 From: D Vengatesh <cb.en.u4cse16261@cb.students.amrita.edu> Date: Tue, 11 Dec 2018 23:07:52 +0530 Subject: [PATCH] ex2 q8 done --- CSE16261_Ex02_08.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 CSE16261_Ex02_08.py diff --git a/CSE16261_Ex02_08.py b/CSE16261_Ex02_08.py new file mode 100644 index 0000000..4130142 --- /dev/null +++ b/CSE16261_Ex02_08.py @@ -0,0 +1,3 @@ +s=input("Enter a string:") +if len(s)%4==0: + print(s[::-1]) -- GitLab