input: 
  def parse_url(url: str) -> str:
      """ Parse the given URL and print out the protocol, domain name, and path using Python.
      >>> parse_url('https://www.example.com/path/to/file')
      ('Protocol:', 'https', 'Domain name:', 'www.example.com', 'Path:', '/path/to/file')
      >>> parse_url('ftp://example.org/directory/file.txt')
      ('Protocol:', 'ftp', 'Domain name:', 'example.org', 'Path:', '/directory/file.txt')
      """
  
output:     protocol_end = url.find("://")
      if protocol_end == -1:
          return "Invalid URL"
      
      protocol = url[:protocol_end]
      url = url[protocol_end + 3:]
      
      domain_end = url.find("/")
      if domain_end == -1:
          domain_end = len(url)
      
      domain = url[:domain_end]
      path = url[domain_end:]
      
      return f"('Protocol:', '{protocol}', 'Domain name:', '{domain}', 'Path:', '{path}')"