Np Range Python Function Questions In C