Skip to content
Snippets Groups Projects
Commit 50dcb375 authored by aslesha's avatar aslesha
Browse files

Add new file

parent 41451fce
Branches master
No related tags found
No related merge requests found
Pipeline #181 canceled
def retlastfirst(string):
if(len(string)<=2):
return ''
else:
return string[:2]+string[-2:]
string = input()
print(retlastfirst(string))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment