結果 : python code to check if list is not empty