27_11_commit
This commit is contained in:
parent
591d0f1ad9
commit
348d53bbe9
@ -2,7 +2,7 @@
|
||||
|
||||
import sys, re
|
||||
for line in sys.stdin:
|
||||
if (re.search(r'^\D*[AEIOUaeiou]\D*$', line)):
|
||||
if (re.search(r'(^[aeiouy][^aeiouy]*$|^[^aeiouy]+[aeiouy]$|^[^aeiouy]+[aeiouy][^aeiouy]+$)', line)):
|
||||
print('true')
|
||||
else:
|
||||
print('false')
|
||||
|
Loading…
Reference in New Issue
Block a user