return sensitive_word_count
def count_sensitive_words(input_string): # Define a list of sensitive words sensitive_words = ["fucking", "watch", "step", "father", "wife", "sex", "in3x"]
# Increment the counter by the number of matches sensitive_word_count += len(matches)
# Convert the input string to lowercase input_string = input_string.lower()