How Range Function Work In Python