nerdexam
Juniper

JN0-222 · Question #31

As part of an application to manage network devices, you must query hundreds of network devices require a mutable data type that contains unordered, unique elements. Which Python data type will…

The correct answer is D. sets. https://stackoverflow.com/questions/14193438/are-python-sets-mutable/14193582

Python

Question

As part of an application to manage network devices, you must query hundreds of network devices require a mutable data type that contains unordered, unique elements. Which Python data type will fulfill these requirements?

Options

  • Atuples
  • Blists
  • Cdictionaries
  • Dsets

How the community answered

(38 responses)
  • A
    8% (3)
  • B
    5% (2)
  • C
    3% (1)
  • D
    84% (32)

Explanation

https://stackoverflow.com/questions/14193438/are-python-sets-mutable/14193582

Topics

#Python#sets#data types#collections

Community Discussion

No community discussion yet for this question.

Full JN0-222 Practice