結果 : how to get nested list as input in python