input: Write a function to parse the given URL and print out the protocol, domain name, and path using Python. The function should take one argument as the input URL, parse it using urllib.parse.urlparse, and print the results.
  assert parse_url('https://www.example.com/path/to/file')==['Protocol: https', 'Domain name: www.example.com', 'Path: /path/to/file']
  assert parse_url('http://subdomain.example.co.uk/folder/page')==['Protocol: http', 'Domain name: subdomain.example.co.uk', 'Path: /folder/page']
  assert parse_url('ftp://files.example.net/doc')==['Protocol: ftp', 'Domain name: files.example.net', 'Path: /doc']
output: def parse_url(url):
      from urllib.parse import urlparse
      parsed = urlparse(url)
      return [f'Protocol: {parsed.scheme}', f'Domain name: {parsed.netloc}', f'Path: {parsed.path}']