test = "label" i = 13 final = "" for e in test: final = final + chr(i ^ ord(e)) print(final)