結果 : arithmetic sequence python code