Skip to content
Snippets Groups Projects
Commit 0522e156 authored by PRANESH  KUMAR  N's avatar PRANESH KUMAR N
Browse files

Upload New File

parent 7d02eeb4
No related branches found
No related tags found
No related merge requests found
lab24.py 0 → 100644
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment