i =1while i <=9: j = 1 while j <= i: print('%d*%d=%-2d'%(j,i,j*i),end ='') j+=1 print('') i += 1
本文共 166 字,大约阅读时间需要 1 分钟。
i =1while i <=9: j = 1 while j <= i: print('%d*%d=%-2d'%(j,i,j*i),end ='') j+=1 print('') i += 1
转载于:https://blog.51cto.com/11518612/1970810