Interactive program

In any Interactive program questions there are always queries which is defined by the grader itself.
My question is what will be on submission, if my program reached the specified queries for that question i.e. what it will print TLE/WA or any other error.

i don’t get what you’re trying to say

you have to terminate your program

How do i terminate the program using python 3.6? I am not sure if the WA is due to query limit overdone or due to incorrect termination

What will be the result if no. of queries (say K=300) is surpassed?
For Guessing Game problem of long challenge, I’m getting WA (0.120000) fro subtask 2.
I want know why it is coming WA because I manually checked my code for several inputs and it worked perfectly.

you can ask that in the comment section of the problem