def mirror(text):
mirror_point = int(len(text) / 2)
if mirror_point % 2 == 0:
res = text[:mirror_point]
else:
res = text[:mirror_point+1]
return res + res[::-1]
def mirror(text):
mirror_point = int(len(text) / 2)
if mirror_point % 2 == 0:
res = text[:mirror_point]
else:
res = text[:mirror_point+1]
return res + res[::-1]