Remove Substring From String

# Introduction In this lab, you need to write a function called `remove_substrings()` that takes a main string and a list of sub strings as input, and returns the main string after removing all occurrences of the substrings that are present in the sub list. The function should remove extra spaces and preserve all the whitespace characters in the original string.

|60 : 00

Click the virtual machine below to start practicing