ch=input() i=1 while i<6: if i==1 or i==5: print(' '*2,end='') print(ch) elif i%2==0: print(' ',end='') print(ch*3) else: print(ch*5) i+=1 想不出啥好有简单的了,很挫的代码是吧hh