結果 : how to check if a list element is empty in python