Python : Sequence data types in python

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

निम्नलिखित में से किस डेटा प्रकार में डुप्लीकेट आइटम की अनुमति नहीं है?

In which of the following data type, duplicate items are not allowed ?
A. List

B. Dictionary

C. Set

D. None of the Above



Correct Answer :

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 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test , CCC MCQ Python Coding Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Website development Company in Allahabad