python insert char code example Example: how to add char to string python def addChar(text,char,place): return text[:place] + char + text[place:]