input: 
  from urllib.parse import urlparse
  
  def parse_url(url: str):
      """Parses the given URL and prints the protocol, domain name, and path.
      >>> parse_url('https://www.example.com/path/to/file')
      Protocol: https
      Domain name: www.example.com
      Path: /path/to/file
      """
  
output:     parsed_url = urlparse(url)
      print(f"Protocol: {parsed_url.scheme}")
      print(f"Domain name: {parsed_url.netloc}")
      print(f"Path: {parsed_url.path}")