Skip to content
Snippets Groups Projects
Commit e5a0afed authored by Vivin Balaji K S 's avatar Vivin Balaji K S
Browse files

Upload New File

parent 8321fe1d
No related branches found
No related tags found
No related merge requests found
Pipeline #110 canceled
a=input("enter the string")
if len(a)==1:
print("Empty string")
elif len(a)==2:
print(a+a)
else:
print(a[0:2]+a[-2:])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment