摘要: 在控制台连续输出五行*,每一行星号的数量依次递增 row=1 while row<=5: col=1 while col<=row: print('*',end='') col+=1 print() row+=1 # 输出结果 # * # ** # *** # **** # ***** 02: ro 阅读全文
posted @ 2019-12-31 17:23 kelly-凯莉 阅读(209) 评论(0) 推荐(0) 编辑