first = 1 while first <= 9: # print("#",end="") sec = 1 while sec <= first: print( str(sec)+"*"+str(first)+"=",sec * first,end="\t") sec += 1 first += 1 print()
python随笔
原文:http://www.cnblogs.com/hxbing/p/7302497.html