newStars = int(input("how many stars do you want?")) for i in range(newStars): print("*") #输出: #how many stars do you want? 3 #* #* #*
【和孩子一起学编程】 python笔记--第四天
内容版权声明:除非注明,否则皆为本站原创文章。
newStars = int(input("how many stars do you want?")) for i in range(newStars): print("*") #输出: #how many stars do you want? 3 #* #* #*
内容版权声明:除非注明,否则皆为本站原创文章。