Вы можете попробовать это:
m = 2
n = 4
nums = [i*m for i in range(1,n+1)]
[list(range(x,y)) for x, y in zip([0] + nums, nums)]
ИЛИ
nums = [i*m for i in range(n)]
[list(range(z,z+m)) for z in (nums)]
Выход:
[[0, 1], [2, 3], [4, 5], [6, 7]]
Для
m = 4
n = 2
Выход:
[[0, 1, 2, 3], [4, 5, 6, 7]]