#九九乘法表 # ''' # 1x1 = 1 # 1x2 = 2 2x2 = 4 # # 1x9 = 9 2x9 = 18 3x9 = 27 ... 9x9 = 81 # ''' #1x1 =1 1x2 = 2 1x3 = 3 # j = 1 # while j <= 9: # i = 1 # while i <= j: # print("%d * %d = %2d" % (j , i,j*i),end = ' ') # i += 1 # print() # j += 1 # j = 1 # # while j <= 9: #外重循环走一步,内重循环走一圈 # i = 1 # while i <= j: # print("%d * %d = %2d" % (j , i,j*i),end = ' ') # i += 1 # print() # j += 1
python 九九乘法表
猜你喜欢
转载自blog.csdn.net/weixin_42218889/article/details/81483556
今日推荐
周排行