結果 : how to print patterns in python