結果 : how to check nested list in python