sh_01_九九乘法表
sh_01_九九乘法表
def multiple_table(): # 1. 打印 9 行小星星 row = 1 while row <= 9: col = 1 while col <= row: # print("*", end="") print("%d * %d = %d" % (col, row, col * row), end="\t") col += 1 # print("%d" % row) print("") row += 1
sh_01_九九乘法表
def multiple_table(): # 1. 打印 9 行小星星 row = 1 while row <= 9: col = 1 while col <= row: # print("*", end="") print("%d * %d = %d" % (col, row, col * row), end="\t") col += 1 # print("%d" % row) print("") row += 1