code: def combine_urls(path1, path2):
      
      if path1.endswith("/") and path2.startswith("/"):
          path2 = path2.replace("/", "", 1)
      elif path1.endswith("/") is False and path2.startswith("/") is False:
          path2 = "/" + path2
      return path1 + path2
docs: Returns the combination of two urls and checks that there are no double slashes at the seam.
      TODO: Extend to check for other anomalies as well.
  
      :param path1: First part of the url
      :param path2: Second part of the url
      :return: Combination of the paths with double slashes removed