标签:lse 打印 方法 for nbsp 菱形 code style print
方法一:
for i in range(-3,4): if i < 0: a = -i else: a = i print(‘ ‘ * a + ‘*‘ *(7 - a * 2))
打印菱形
原文地址:https://www.cnblogs.com/alrenn/p/12534952.html