how to print string in this way,"re.sub('(.{6})', '\\1#', str)"