結果 : arithmetic progression python loop