How Does Range Work In Python