Help me in solving PYTIMEMCQ4 problem(Time complexity)

My issue

I was not able to find why they are using K here . please help me on this

Learning course: Time complexity using Python
Problem Link: CodeChef: Practical coding for everyone