$P(x)$ is a polynomial of degree $n$ that satisfies $P(k)=\frac{k}{k+1}$ for $k=0,1,2,3,...,n$. Find $P(n+1)$.
What have I tried: I have literally no idea how to do questions of this kind. Also, in general what is the method solving such questions where they say a polynomial behaves a certain way with a range of numbers and expect you to extrapolate the next value?
Thank you!