結果 : print patterns in python using for loop