1, 打印由‘*’组成的实心菱形图案
s='*'
for i in range(1,8,2):
print((s * i).center(7))
for i in reversed(range(1,6,2)):
print((s * i)
1, 打印由‘*’组成的实心菱形图案
s='*'
for i in range(1,8,2):
print((s * i).center(7))
for i in reversed(range(1,6,2)):
print((s * i)