結果 : pattern questions in python using for loop