Akhil Narayanan Nair home

Python - List Sets

================

strList = [‘z’, ‘zz’, ‘c’, ‘z’, ‘bb’, ‘z’, ‘a’, ‘c’]

aSet = set(strList)

aSet

print(aSet)

for s in aSet:

print(s)