結果 : how to get n inputs in python