i=9 while i>0: for j in range(1,i+1): print(str(i)+"*"+str(j)+"="+str(i*j)+" ",en...
#九九乖法口诀正向输出print("九九乖法口诀正向输出:")
a=1
b=9
for i in range(a,b+1):
for j in range(a,i+1):
 ...
九九乘法表:for i in range(1,10): for j in range(1,i+1): print("%d*%d=%d"%(i,j,i*j)+"\t",end="") print("")运行结果如下:1*1=1 2*1=2 ...
Source Code:for i in range(1, 10, 1): print((9-i)*3*" ", end="") for j in range(1, i+1): print...
#注意二维函数的位置输出、print()、range()的用法#九九乘法表#i为Y轴、j为X轴for i in range(1,10): for j in range(1,i+1): &nb...
#倒序乘法表for i in range (9,0,-1): for j in range (1,i+1): print(str(i)+"*"+str(j)+"="+str(i*j)+" "...
源代码1for i in range(1,10): for j in range(1,i+1): print(str(i)+"*"+str(j)+"="+str(i*j)+" ",end="") ...
#正序乘法口诀for i in range(1,10): for j in range(1,i+1): print(str(i)+"*"+str(j)+"="+str(i*j),end=" ") print()#倒序乘法口诀for i in r...
作业:逆向乘法口诀表for i in range (9,0,-1): for j in range(1,i+1): print(str(i)+"*"+str(j)+"=...
源码:for i in range(9,0,-1): for j in range(1,i+1): print(str(i)+"*"+str(j)+"="+str(i*j)+" ",end="") ...
end空格字符串表示不换行,i j 两个循环各print一次,range(开始数,结束数(不包含),间隔数)输出列表for循环
print("-"*25+"正序九九乘法口诀表"+"-"*25)
print()
for i in range(1,10,1):
for j in range(1,i+1,1):
print(str(i)+"*"+str(j)+"="+str(...
for i in range(9,0,-1): for j in range(1,i+1): print(str(i)+"*"+str(j)+"="+str(i*j)+" ",end="")  ...
for i in range(9,0,-1): for j in range(1,i+1): print("%d*%d=%d"%(i,j,i*j),end=(" " if(i*j1) else " ")...