Get reliable answers to your questions at Westonci.ca, where our knowledgeable community is always ready to help. Connect with professionals ready to provide precise answers to your questions on our comprehensive Q&A platform. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently.

Say you have a long string and you want to collect all of the letters within it without storing duplicates. What would be the most appropriate type to store the letters in?
a. a set
b. a list
c. the original string
d. a dictionary


Sagot :

A set because sets do not allow duplicated elements