From 2e0f26af4524251ed2ec2533244607e037b39a85 Mon Sep 17 00:00:00 2001 From: ironreactor <116426430+ironreactor@users.noreply.github.com> Date: Fri, 28 Oct 2022 00:32:45 +0530 Subject: [PATCH] Add files via upload --- 2022-Oct/11 Oct 2022/Sai_Chouhan.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 2022-Oct/11 Oct 2022/Sai_Chouhan.py diff --git a/2022-Oct/11 Oct 2022/Sai_Chouhan.py b/2022-Oct/11 Oct 2022/Sai_Chouhan.py new file mode 100644 index 0000000..4cadb14 --- /dev/null +++ b/2022-Oct/11 Oct 2022/Sai_Chouhan.py @@ -0,0 +1,8 @@ +s = input() +li = s.split(" ") +count = 0 +for i in range(len(li)): + if li[i] == li[i][::-1]: + count += 1 + +print(count) \ No newline at end of file