input: Write a python function to fetch XML data from a URL and print the tag and attributes of each child element.
  assert fetch_and_print_xml('https://example.com/data.xml') is None
output: def fetch_and_print_xml(url):
      import requests
      import xml.etree.ElementTree as ET
  
      response = requests.get(url)
      if response.status_code == 200:
          root = ET.fromstring(response.content)
          for child in root:
              print(f"Tag: {child.tag}, Attributes: {child.attrib}")