結果 : code for diamond pattern in python