結果 : how to take n number of inputs in python using for loop