Python How Does Range Work In Process