python-day9-循环嵌套

练习:99乘法表:

# for line in range(1,10): #line=2
# for row in range(1,line+1):
# print('%s*%s=%s' %(line,row,line*row),end=' ') #print默认end='\n'是换行打印
# print()
posted @ 2017-07-21 15:05  Cool·  阅读(216)  评论(0编辑  收藏  举报