in not in{} get() setdefault()

You can check the contents of the dictionary with in and not in.

getset1's photo

You can retrieve the value using the get() function.

getset2's photo

Items can be added with the setdefault() function.
The setdefault() function cannot override.

getset3's photo

character count program

getset4's photo