結果 : pattern questions in python using while loop