how to ask python if a list is empty code example Example: check if empty item in list python if '' in list: # do stuff