how to compare empty list in python code example Example: python array empty >>> a = [] >>> not a True