My issue
You are iterating through a string ‘u’ of length > 2.
You are checking if the sequence ‘th’ is present anywhere in the string.
Rearrange the given code to correctly check for this.
Learning course: Strings using Python
Problem Link: CodeChef: Practical coding for everyone