Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2049e3

Browse files
committed
nog mooier
1 parent 308bc5a commit c2049e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

15_kentucky_friar/friar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def fry(word):
3838
ing = re.match('(.*)ing$', word)
3939

4040
if ing:
41-
if any(map(lambda e: e in 'aouei', ing.group(1))):
41+
if re.search('[aouie]', ing.group(1), re.IGNORECASE):
4242
return ing.group(1)+"in'"
4343

4444
you = re.match('([yY])ou$', word)

0 commit comments

Comments
 (0)