for j in range(1,10):
if j < i:
print('{}*{} = {}'.format(i,j,i*j),end = '\t')
elif j == i:
print('{}*{} = {}'.format(i,j,i*j),end = '\n')
elif j > i:
exit

for j in range(1,10):
if j < i:
print('{}*{} = {}'.format(i,j,i*j),end = '\t')
elif j == i:
print('{}*{} = {}'.format(i,j,i*j),end = '\n')
elif j > i:
exit
本文标题:2018-08-22 第二个程序:九九乘法表
本文链接:https://www.haomeiwen.com/subject/nxbyiftx.html
网友评论