diff --git a/CSE16261_Ex02_04.py b/CSE16261_Ex02_04.py new file mode 100644 index 0000000000000000000000000000000000000000..95ea1bc3eb841feb69b789970020ca54a5619173 --- /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)