python2.7
for i in range(1,10):
for j in range(1,i+1):
print j,'x',i,'=',j*i,' ',
print '
'
print '
Done'
python3.7
i = 1
while i<=9:
j = 1
while j<=i:
print ("%d*%d=%-2d "%(j,i,j*i),end="")
j+=1
print("")
i+=1
python2.7
for i in range(1,10):
for j in range(1,i+1):
print j,'x',i,'=',j*i,' ',
print '
'
print '
Done'
python3.7
i = 1
while i<=9:
j = 1
while j<=i:
print ("%d*%d=%-2d "%(j,i,j*i),end="")
j+=1
print("")
i+=1