Typescript String Addition In Python Using Function