while循环与end使用方法 ceng = 1while ceng<=5: count = 1 while count <= ceng: print('*',end = '') #加入end='', 打印不换行 count += 1 ceng += 1 print()打印结果为:***********... Python 2023-05-11 44 点赞 0 评论 66 浏览