def func(s:str): new_str = s num = 0 for i in range(1,len(s)): if (s[i-1].isdigit() == False and s[i].isdigit()) or (s[i-1].isdigit() and s[i].isdigit()==False): new_str = new_str[:i+num]+'*'+new_str[i+num:] num+=1 if s[0].isdigit(): new_str = '*'+new_str if s[-1].isdigit(): new_str+='*' return new_...