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

Upload New File

parent 6e3d6f60
No related branches found
No related tags found
No related merge requests found
s = input("enter the string:")
if len(s)>2:
print(s[0:2]+s[-2:])
if len(s)==2:
print(s+s)
if len(s)<2:
print("empty")
\ 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