Python Programming - Data Types - Discussion
Discussion Forum : Data Types - General Questions (Q.No. 7)
7.
Which of the following data types is used to represent a collection of elements with no duplicates?
Answer: Option
Explanation:
Sets are used to represent a collection of elements with no duplicates. Lists and tuples can contain duplicate elements, while dictionaries are used to store key-value pairs.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers