debugar python

Solutions on MaxInterview for debugar python by the best coders in the world

showing results for - "debugar python"
Irene
04 Nov 2019
1import ipdb;ipdb.set_trace()
Amanda
27 Jul 2017
1t=int(input())
2while(t!=0):
3  s=input()
4  v='aeiou'
5  flag=0
6  for i in range(len(s)):
7    if s[i] not in v:
8      if s[i+1] in v:
9        flag+=1
10      else:
11        print('NO')
12        break
13    else:
14       #if s[i] in v:
15         flag+=1
16    if flag == len(s):
17        print('YES')
18  t=t-1