Butcher of Vowels

…if I’m to choose between one evil and another, then I prefer not to choose at all. – Geralt (Th…

Click here to read the complete problem statement.


If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

What’s wrong?

T=int(input())
while T>=1 and T<=100:
	S=input("")
	if len(S)>=1 and len(S)<=10:
		if 'a' in S:
			print("Yes")
		elif 'e' in S:
			print("Yes")
		elif 'i' in S:
			print("Yes")
		elif 'o' in S:
			print("Yes")
		elif 'u' in S:
			print("Yes")
		else:
			print("No")
			
	

Did you wrote an infinite loop?