Here is what the above code is Doing:
1. It’s finding all the elements with the tag name tagname that have an attribute called attribute with a value of value.
2. It’s storing all those elements in a list called element.
3. It’s printing out the list of elements.