From 0522e156c3377ac661385fcd15c656ccd24e3c6c Mon Sep 17 00:00:00 2001
From: PRANESH  KUMAR  N <cb.en.u4cse16230@cb.students.amrita.edu>
Date: Tue, 11 Dec 2018 23:22:38 +0530
Subject: [PATCH] Upload New File

---
 lab24.py | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 lab24.py

diff --git a/lab24.py b/lab24.py
new file mode 100644
index 0000000..5dfb526
--- /dev/null
+++ b/lab24.py
@@ -0,0 +1,11 @@
+s = input("enter the string:")
+q=s[0]
+w=str("$")
+for i in range(0,len(s)):
+	if i!=0:
+		if s[i]==q:
+			print(w,end="")
+		else:
+			print(s[i],end="")
+	else:
+		print(s[i],end="")
\ No newline at end of file
-- 
GitLab