in python i wrote a function where if the user inputs a certain word the function repeats over again, since the function aaks for the word the end of the function, therotically the function can repeat infinte times. Now my question is, how can i find out how many times the function was repeated. i need to know how many times the function repeated in order to do a percentage calculation, can someone tell me, how i can find how many times the function was repeated ?