Skip to content
Snippets Groups Projects
Commit 565380cf authored by Pravesh's avatar Pravesh
Browse files

lab 2 after eval

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