Anonymous ID: 592dd3 May 13, 2019, 7:28 p.m. No.6492752   🗄️.is 🔗kun   >>2781

>>6492740

 

def mirror(activated):

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]