
Refer to the exhibit. Which code results in the working Python script displaying a list of network devices from the Cisco DNA Center?
A. network_device_list(dnac[“host”], dnac[“username”],dnac[“password”])
login = dnac_login(dnac)
print(dnac_devices)
B. login = dnac_login(dnac[“host”], dnac[“username”], dnac[“password”])
network_device_list(dnac, login)
print(dnac_devices)
C. login = dnac_login(dnac[“host”], dnac[“username”], dnac[“password”])
network_device_list(dnac, login)
for item in dnac_devices:
print(dnac_devices.item)
D. network_device_list(dnac[“host”], dnac[“username”], dnac[“password”])
login = dnac_login(dnac)
for item in dnac_devices:
print(dnac_devices.item)
Correct Answer: C