結果 : how to split a list based on a value in python