code: def tsplit(string, delimiters):
      
      delimiters = tuple(delimiters)
      if len(delimiters) < 1:
          return [string,]
      final_delimiter = delimiters[0]
      for i in delimiters[1:]:
          string = string.replace(i, final_delimiter)
      return string.split(final_delimiter)
docs: Behaves str.split but supports tuples of delimiters.