An empty list or dictionary in Python (Python programs don't generally use arrays, although there is a module for them) are "empty list object" and "empty dictionary object", respectively, not None. The get() function returns None as a way of saying "the dictionary doesn't contain a value for that key". None is a constant value that is not equal to any scalar value (like integers, strings, etc.) or any instance of any class. It's just what it says--this is not a thing. C/C++ has no such concept for scalar types like ints and floats, but a NULL pointer is guaranteed to be unequal to any valid pointer to an object.
In the OOP model, None is a subclass of every class, but Python doesn't really care that much since it's more loosely typed.
get()is a dictionary method that will returnNoneif the key (and associated value) are not present in the dictionary, otherwise it returns the value.Noneis used a little likeNULLis in C/C++.dictthough.#.../* */is a syntax error in python