You are viewing a single comment's thread. Return to all comments →
import re S = input().strip() m = re.findall(r"(?i)(?<=[^aeiou])([aeiou]{2,})(?=[^aeiou])", S) if m: print("\n".join(m)) else: print(-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 →