Tag Selected: python loops