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?
List
Tuple
Set
Dictionary
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:

Your comments will be displayed after verification.