代码:
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
输出:
原文地址:https://www.cnblogs.com/wzpy/p/8203496.html
时间: 2024-10-04 21:20:02
代码:
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
输出:
原文地址:https://www.cnblogs.com/wzpy/p/8203496.html