摘要: num = int(input("请输入整数:"))lst = []count = num-1for i in range(1, num*2): if i% 2 != 0: s = " ".join("*" * i).strip(" ") lst.append(s)while count >= 0: 阅读全文
posted @ 2019-11-13 11:16 冰灬荷 阅读(208) 评论(0) 推荐(0) 编辑