dict. pop python code example
Example 1: python string pop
// no pop methode for strings (strings are immutable)
a = "abc"
last_letter = a[-1]
a = a[:-1]
Example 2: python dictionary pop
value = dict_a.pop(key)
Example 3: python dictionary pop key
my_dict.pop('key', None)