Report Bug

QusIn which of the following data type, duplicate items are not allowed ? Qusनिम्नलिखित में से किस डेटा प्रकार में डुप्लीकेट आइटम की अनुमति नहीं है?


A. List
B. Dictionary
C. Set
D. None of the Above


Solution
C. Set



Explanation

Set in Python:

  • A set is an unordered collection of unique elements.
  • It does not allow duplicate values, which means each element in a set must be unique.
  • Sets are mutable, meaning you can add or remove elements once a set is created.
  • Sets are typically used when the existence of elements is more important than the order or how many times they occur.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad