# while循环实现九九乘法表num_one = 1while num_one <= 9: num_two = 1 while num_two <= num_one: print("%s*%s=%s" % (num_two, num_one, num_two * num_one), end=" ") num_two += 1num_one += 1print()