Advertisement
AlexandraWTF

Untitled

May 26th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. import sys
  2. import xml.etree.ElementTree as ET
  3. n = sys.stdin.read()
  4. root = ET.fromstringlist(n)
  5.  
  6. for i in root.findall('./shop/'):
  7.     print(i.tag)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement