# 正写 j = 0 k = 0 while j < 10: j+=1 while k <10: k+=1 if j>k: k = 0 break else: print('{}*{}={}'.format(j,k,j*k)) print() # 反写 j = 10 k = 10 while 0<j: j -=1 while 1<k: k-=1 if k == 0 k = j break else: print('{}*{}={}'.format(j,k,j*k)) print()/print('')