li = [2, 3, 4, 5, 6, 7, 8, 9, 10]
for i in li:
    for j in range(1, i):
        print('{0} * {1} = {2}'.format(j, i - 1, j * (i - 1)))

 

相关文章:

  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2021-04-26
  • 2021-09-20
  • 2022-12-23
  • 2021-10-29
  • 2021-09-29
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-22
  • 2021-12-23
相关资源
相似解决方案