You are viewing a single comment's thread. Return to all comments →
excellent
a bit shorter version
import re s = '[qwrtypsdfghjklzxcvbnm]' a = re.findall('(?<=' + s +')([aeiou]{2,})' + s, input(), re.I) print('\n'.join(a or ['-1']))
Seems like cookies are disabled on this browser, please enable them to open this website
Re.findall() & Re.finditer()
You are viewing a single comment's thread. Return to all comments →
excellent
a bit shorter version