From 60fceeaf3606e3fd5d7a48cad620b35e66f3bb52 Mon Sep 17 00:00:00 2001
From: D Vengatesh <cb.en.u4cse16261@cb.students.amrita.edu>
Date: Tue, 11 Dec 2018 23:02:16 +0530
Subject: [PATCH] ex2 q4 done

---
 CSE16261_Ex02_04.py | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 CSE16261_Ex02_04.py

diff --git a/CSE16261_Ex02_04.py b/CSE16261_Ex02_04.py
new file mode 100644
index 0000000..95ea1bc
--- /dev/null
+++ b/CSE16261_Ex02_04.py
@@ -0,0 +1,5 @@
+s=input("Enter a string:")
+s1=s[1:]
+
+s1=s1.replace(s[0:1],'$')
+print(s[:1]+s1)
-- 
GitLab