摘要: n = 1 while n <= 5: print('*' * n) n = n + 1 n = 1 while n <= 5: m = 0 while m < n: print('*', end='') m += 1 n += 1 print() print('*' * n):重复输出*号N次。 阅读全文
posted @ 2021-09-23 17:04 逍遥abin 阅读(321) 评论(0) 推荐(0) 编辑