Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:24:06) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> text = 'HelloworLD'
>>> output = text[:2] + text[-2:]
>>> if(len(text)<2):
	print ('Empty String')
else:
	print (output)

	
HeLD
>>> 
