結果 : sum of n numbers from m in python using while loop