結果 : how to store inputs into an array python