In Patrick Loeber's How to Analyze Apple Health Data with Python (https://www.python-engineer.com/posts/apple-health-data-python/), he suggests iterating over 'Workouts' here: workout_list = [x.attrib for x in root.iter('Workout')]. How does he know 'Workout' is an element within the tree? Thx!
I've tried looking at the tree iter, elem, root.tag, root.attrib, for child in root, but can't seem to figure out how he knows 'Workouts' is an element in the tree.