結果 : sum of consecutive numbers in python using while loop