Page 5 - Lesson Note - DICTIONARIES
P. 5

Membership Operator (in AND not in)
               checks if a key is present in the dictionary or not
















               Standard Library Functions

               len()
               finds length of dictionary





               sum()
               finds sum of keys, if numbers






               max()/min()
               finds max/min from the keys of dictionary
               For numeric keys comparison is on numbers, ORDINAL value otherwise.















               sorted()
               returns a list containing sorted keys of dictionary
   1   2   3   4   5   6   7   8   9   10