結果 : take input using for loop in python