range function in python explained