結果 : how to print pattern in python using while loop