Question · Python course · Module 2: Data Structures

Sets

What is the main feature of a set?

Answer options

  • It stores only numbers
  • Elements are ordered
  • It does not allow duplicates
  • It is immutable
Show the answer

Correct answer:

  • It does not allow duplicates