题解 | #牛牛的字符菱形#
牛牛的字符菱形
https://www.nowcoder.com/practice/11a5040fa894430f9d25fda1be37ddc8
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