Use python print multiplication table

1, the code:

I =. 1 
JI =. 1
the while (I <=. 9):
J =. 1
the while (J <= I):
JI = J * I
Print (STR (J) + "*" + STR (I) + "=" + str (ji), end = " ") # with the end does not wrap, the remaining three spaces each equation
J = J +. 1
Print () # linefeed
I = I. 1 +

2, the results of:

 

 

 

Guess you like

Origin www.cnblogs.com/xhm-dhl/p/11864437.html