Удалить из строки все цифры s="Мама2 мыла2 ра3му2" gl="0123456789" new_s="" for i in s: if i not in gl: new_s+=i print(new_s)