有95条数据 每十条存一页

all_item = 95

pager = 10

result = all_item.__divmod__(pager)

print(result)

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

05-12 08:44