图5.6 下面的程序代码示范了如何利用for循环输出指定数量的特殊符号。 n=int(input("请输入要输出的特殊符号的数量: ")) for x in range(n): #循环次数为n print("$" ...
確定! 回上一頁