代码:
1 i = 1 2 while i <= 9: 3 n = 1 4 while n <=i: 5 print("%d*%d=%d\t"%(n,i,i*n),end="") 6 n += 1 7 print("") 8 i +=1
输出:
标签:print span body info alt com inf color pos
代码:
1 i = 1 2 while i <= 9: 3 n = 1 4 while n <=i: 5 print("%d*%d=%d\t"%(n,i,i*n),end="") 6 n += 1 7 print("") 8 i +=1
输出:
标签:print span body info alt com inf color pos
原文地址:https://www.cnblogs.com/wzpy/p/8203496.html