标签:格式 pytho nbsp end int for int() sep python
for i in range(1,10):
for j in range(1,i+1):
print(j,‘*‘,i,‘=‘,i*j,sep=‘‘,end=‘\t‘)
print()
print()
i=1
while(i<10):
j=1
while(j<=i):
print("%d*%d=%d"%(j,i,i*j),end=‘\t‘)
j=j+1
i=i+1
print()
标签:格式 pytho nbsp end int for int() sep python
原文地址:https://www.cnblogs.com/GoldCrop/p/11406504.html