Quiz 8 Question 13 of 20

During a change window you review a small Python snippet that summarizes show ip interface brief data across three switches, each returning Gi1/0/1 to Gi1/0/4, so twelve records share four repeated names. Nine state values are up, two are down, one is administratively down. The script appends r["int"] to up when r["state"] == "up" and to down otherwise. What does each list hold when the loop finishes?

Select an answer to reveal the explanation.

Motivation