We have,
f(x)=tanxx−π
Since, limx→πf(x)
Now,
limx→π(tanxx−π)
This is the 00 form.
So, apply L-Hospital rule,
limx→π(sec2x1−0)
limx→π(sec2x)
limx→π(secx)2
=(secπ)2
=(−1)2
=1
Hence, this is the answer.