title: Python3. ElementTree.ParseError: not well-formed (invalid token)
body: <p><strong>Code:</strong></p>
  
  <pre><code>  import urllib.request 
    import xml.etree.ElementTree as ET
    x = input('Enter a URL:') 
    stuff = ET.fromstring(x)
  </code></pre>
  
  <p><strong>Error:</strong></p>
  
  <p>line 1320, in XML
  parser.feed(text)
  File "string", line None
  xml.etree.<strong>ElementTree.ParseError: not well-formed (invalid token): line 1, column 5</strong></p>
  
  <p><em>Does anyone know how to fix the code and where's the problem?</em></p>