#cfkj01.py 乘法口诀
for i in range(1,10):
for j in range(1,i+1):
print(i,"*",j,"=",i*j,"\t",end="")
print()
#cfkj02.py 乘法口诀
for i in range(1,10):
for j in range(i,10):
print(i,"*",j,"=",i*j,"\t",end="")
print()
#cfkj03.py 乘法口诀
for i in range(1,10):
for k in range(i-1):
print("\t"," ",end="")
for j in range(i,10):
if(i*j<10):
print(i,"*",j,"= ",i*j,"\t",end="")
else:
print(i,"*",j,"=",i*j,"\t",end="")
print()
#cfkj04.py 乘法口诀
for i in range(1,10):
for k in range(9-i):
print("\t"," ",end="")
for j in range(1,i+1):
if(i*j<10):
print(i,"*",j,"= ",i*j,"\t",end="")
else:
print(i,"*",j,"=",i*j,"\t",end="")
print()
#cfkj05.py 乘法口诀
for i in range(1,10):
for k in range(9-i):
print("\t"," ",end="")
for j in range(1,i+1):
if(i*j<10):
print(i,"*",j,"= ",i*j,"\t",end="")
else:
print(i,"*",j,"=",i*j,"\t",end="")
print()
#cfkj06.py 乘法口诀
for i in range(1,10):
for k in range(i-1):
print("\t"," ",end="")
for j in range(i,10):
print(i,"*",j,"=",i*j,"\t",end="")
print()