摘要: print(“-”*50) 结果如下: 字符串若乘上整数n,将返回由n个这样的字符拼接而成的字符。 例如: #!/usr/bin/env python3row=int(input("Enter the number of rows: "))n=rowwhile n>=0: x="*"*n y=" " 阅读全文
posted @ 2017-08-11 11:05 black-bird 阅读(223) 评论(0) 推荐(0)