sj_dde

导航

 

2021年8月24日

摘要: 输入行数,得到成数列递增的三角形 height = int(input("the height is>>")) num = 1 h = 1 while num <= height: h = num #让h永远等值num,与循环后的v无关 while h > 0: print("#",end="") 阅读全文
posted @ 2021-08-24 20:00 sj_dde 阅读(33) 评论(0) 推荐(0)