题目:输出99乘法表
参考代码:
j=2 while True: for i in range(1,j): result = i * (j-1) print('%d*%d=%2d' % (i,(j-1),result),end=" ") j+=1 print(' ',end="") if j > 10: break
题目:输出99乘法表
参考代码:
j=2 while True: for i in range(1,j): result = i * (j-1) print('%d*%d=%2d' % (i,(j-1),result),end=" ") j+=1 print(' ',end="") if j > 10: break