Q. Which datatype removes duplicates?

A
List
B
Dictionary
C
Tuple
D
Set
Solution:

Sets automatically remove duplicates, e.g., {1, 2, 2} becomes {1, 2}.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!