結果 : pattern printing in python using while loop