human
Give me a Python function to replace a list of strings from a text.
assistant
Here is a Python function to replace a list of strings from a text

import re

def replace_list_of_strings(text, list_of_strings):
  """Replaces a list of strings from a text.
  """
  for string in list_of_strings:
    text = text.replace(string, '')
  return text

# Enter the text
text = "This is a text with some strings."

# Enter the list of strings
list_of_strings = ["a", "b", "c"]

# Calling the function
print((replace_list_of_strings(text, list_of_strings)))

#Example Output
# This is  text with some strings.

#Remember to inspect code for bugs.