PrepAway - Latest Free Exam Questions & Answers

Which Python data type will fulfill these requirements?

As part of an application to manage network devices, you must query hundreds of network devices and return the unique set of IP prefixes blocked by configured firewall filters. To accomplish this task, you will require a mutable data type that contains unordered, unique elements.

Which Python data type will fulfill these requirements?

A. dictionaries
B. lists

C. tuples

D. sets

Reference: https://docs.python.org/2/library/sets.html


Leave a Reply