結果 : arithmetic progression program in python