input: Write a python function to extract the domain from a given URL.
  assert get_domain("https://www.google.com") == "www.google.com"
  assert get_domain("http://example.com/test") == "example.com"
  assert get_domain("https://sub.domain.co.uk/path") == "sub.domain.co.uk"
output: def get_domain(url):
      from urllib.parse import urlparse
      parsed_url = urlparse(url)
      return parsed_url.netloc