結果 : code for pyramid pattern in python