摘要: a = 50 y = '*'*(a+1) p = ' ' while a: print(y) y = y[:a-1] y = p + y a = a - 1 for i in range(20): print(' ' * (20-i-1) + '*' * (2*i+1) ) a = 20 p = ' '*(a+1... 阅读全文
posted @ 2016-06-26 19:13 疯陈演义 阅读(2136) 评论(0) 推荐(0) 编辑