SCRIPT WITH FULL QUESTIONS AND
VERIFIED SOLUTIONS
⫸ Len() - Returns the number of characters in a text string
⫸ Set() - unordered collection of unique elements.
• Elements are unordered: Elements in the set do not have a position or
index.
• Elements are unique: No elements in the set share the same value.
⫸ How to add elements to a set? - set.add(value)
Ex: my_set.add('abc')
⫸ How to remove random item from a set? - set.pop()
Ex: my_set.pop()
⫸ How to remove item from a set? - set.remove(value)
Raises KeyError if value is not found.