उस चीज़ का नाम बताइए जो डुप्लिकेट मानों की अनुमति नहीं देती है?
Name the thing which does not allow duplicate values?
A
Set
B
lists
C
Tuples
D
None of the above
Explanation
A set is the data structure that does not allow duplicate values.
- Sets: Store only unique elements. Any attempt to add a duplicate value will be ignored.
- Lists: Are ordered and mutable, and they do allow duplicate members.
- Tuples: Are ordered and immutable, and they also do allow duplicate members.
Correct Answer: A) Set