i = 1 j = 1 while i < 10: while j <= i: s = j*i print( str(j) +"*" + str(i) + "=" + str(s) + " " ,end = " ") j+=1 print() j = 1 i+=1
实例-九九乘法表
最新推荐文章于 2022-11-15 11:38:05 发布
i = 1 j = 1 while i < 10: while j <= i: s = j*i print( str(j) +"*" + str(i) + "=" + str(s) + " " ,end = " ") j+=1 print() j = 1 i+=1