結果 : how to take n inputs in python