結果 : python create nested list from input