Doubt in K-Append Challenge

In the K-Append challenge, what do we have to do in the case where k is greater than n, where k is no of elements to be appended and n is total no of elements. I have done for the case where k is less than n.

hello @abhaygarg2001

do k=k%n this will ensure that k will always be less than n

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.