結果 : how to take dynamic list input in python