num2=1while num2 <10: num1=1 while num1<=num2: print(num1,'*',num2,'=',num1*num2,end=" ")#在一行输出 num1+=1 print()#换行 num2+=1