有95条数据 每十条存一页

all_item = 95

pager = 10 

result = all_item.__divmod__(pager)

print(result)

(9{商},5{余数})

相关文章:

  • 2022-12-23
  • 2021-08-06
  • 2022-01-10
  • 2022-12-23
  • 2022-01-06
  • 2021-07-18
  • 2021-12-25
  • 2021-11-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2022-12-23
相关资源
相似解决方案