I'm assuming L is a finite real number, if that's the case then

(i) By the definition of limit there is an such that if then so that on . From here it should be obvious.

(ii) If we define then is continous on , by the extreme value theorem we have an absolute maximum , then . Consider the cases , .