check if an array is empty python 3 code example Example: python is empty array if not a: print("List is empty")