Removendo caracteres de uma frase

Published by Joshua Señoron in

Crie uma função que receba uma frase txt e uma string de caracteres chars e retorne a frase com todos os caracteres especificados removidos.

Exemplos

strip_sentence("the quick brown fox jumps over the lazy dog", "aeiou") ➞ "th qck brwn fx jmps vr th lzy dg"

strip_sentence("the hissing snakes sinisterly slither across the rustling leaves", "s") ➞ "the hiing nake initerly lither acro the rutling leave"

strip_sentence("gone, reduced to atoms", "go, muscat nerd") ➞ ""

Observações

  • Pode ser necessário remover pontuação e espaços.
  • Retorne uma string vazia se todos os caracteres forem especificados (veja o exemplo n.º 3).
  • Todos os testes estarão em letras minúsculas.