一: li = [] for i in range(1000): li.append(i) while True: p = input('input page: ') p = int(p) start = (p-1) * 10 end = p * 10 print(li[start:end]) 运行结果: input page: 1 [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] input page: 2 [10, 11, 12, 13, 14, 15, 16, 17, 18,…