Filtering Words by Excluding Characters

# Introduction In this lab, we need to write a Python function called `remove_words_with_chars()` which takes a sentence and a list of characters as input. The function should remove any words from the sentence that contain any characters from the given character list. If the sentence has no remaining words after removing the specified characters, the function should return -1.

|60 : 00

Click the virtual machine below to start practicing