Skip to content
Snippets Groups Projects
Commit f9cff2ee authored by Velaga Abijith's avatar Velaga Abijith
Browse files

q3 done

parent 0d696a4b
No related branches found
No related tags found
No related merge requests found
str=input("enter a string : ")
if len(str)>1:
s=str[0:2]+str[-2:]
print(s)
else:
print("empty string")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment