結果 : pattern printing in python using loop