How Does Range Function Works In Python Example