From 5c66db301305cec4b84a466df031cedec24d4788 Mon Sep 17 00:00:00 2001 From: Vivin Balaji K S <cb.en.u4cse16265@cb.students.amrita.edu> Date: Wed, 12 Dec 2018 10:22:08 +0530 Subject: [PATCH] Upload New File --- CSE16265_ExNo02_04.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 CSE16265_ExNo02_04.py diff --git a/CSE16265_ExNo02_04.py b/CSE16265_ExNo02_04.py new file mode 100644 index 0000000..0827095 --- /dev/null +++ b/CSE16265_ExNo02_04.py @@ -0,0 +1,10 @@ +z=input() +a=z[0] +z=z[1:] +print(a,end='') +for item in z: + if item==a: + print("$ ",end='') + else: + print(item,end='') +print() -- GitLab