is it ok for a list to be empty in python code example Example: how to tell if a list is empty in python if not a: print("List is empty")