def restore_punctuation(original,modified):
ret = '<STR_LIT>'<EOL>count = <NUM_LIT:0><EOL>try:<EOL><INDENT>for c in original:<EOL><INDENT>if c.isalpha(): <EOL><INDENT>ret+=modified[count]<EOL>count+=<NUM_LIT:1><EOL><DEDENT>else: ret+=c<EOL><DEDENT><DEDENT>except IndexError:<EOL><INDENT>print('<STR_LIT>')<EOL>raise<EOL><DEDENT>return ret<EOL>
If punctuation was accidently removed, use this function to restore it.
        requires the orignial string with punctuation.