Python - Access Set Items
You cannot access items in a set by referring to an index or a key.
But you can loop through the set items using a
loop, or ask if a specified value is present in a set, by using the
Loop through the set, and print the values:
for x in thisset:
Check if "banana" is present in the set:
print("banana" in thisset)
Once a set is created, you cannot change its items, but you can add new items.