結果 : how to take input for nested list in python