>>891
printf("%+d", 5)
s = "%d" % 5; printf(s)

>>892
idx = text.rindex('}')
text[idx] = "特定の文字+}"