My issue
count=0
for i in range(int(input())):
n = int(input())
s = input().lower()
k=[‘a’,‘e’,‘i’,‘o’,‘u’]
for i in s:
if i not in k:
count=count+1
else:
count=count
if count>4:
print(‘NO’)
else:
print(‘YES’)
count=0
i am getting correct output but i get status wrong
My code
count=0
for i in range(int(input())):
n = int(input())
s = input().lower()
k=['a','e','i','o','u']
for i in s:
if i not in k:
count=count+1
else:
count=count
if count>4:
print('NO')
else:
print('YES')
count=0
Problem Link: EZSPEAK Problem - CodeChef