View Full Version : "Assignment"
_Kristen_
12-15-2006, 02:18 PM
We have this assignment in English class;
What word has all the vowels in order?
I don't get it, and i can't afford another F. Help?
Jebus
12-15-2006, 02:20 PM
facetious .
_Kristen_
12-15-2006, 02:22 PM
no it has to have all of them together in order i think... like (imaginary word) waeiou. I think, but thanks.
Lodat225
12-15-2006, 02:22 PM
I don't think there is a word like that.
Endymion
12-15-2006, 03:06 PM
In [1]: vowelsinorder = re.compile("[^aeiou]*a[^aeiou]*e[^aeiou]*i[^aeiou]*o[^aeiou]*u[^aeiou]*")
In [2]: with open("/usr/share/dict/words") as words:
...: for word in words:
...: if vowelsinorder.match(word):
...: print word
...:
abstemious
abstemiously
abstemiousness
abstentious
acheilous
acheirous
acleistous
affectious
aleikoum
anemious
annelidous
arsenious
arterious
bacteriofluorescin
bacteriopurpurin
bacterious
caesious
facetious
facetiously
facetiousness
fracedinous
half-serious
half-seriously
Lapeirousia
majestious
parecious
pareciously
pareciousness
tragedious
In [3]:
and if you want 'y' in that too...
In [8]: vowelsinorder = re.compile("[^aeiouy]*a[^aeiouy]*e[^aeiouy]*i[^aeiouy]*o[^aeiouy]*u[^aeiouy]*y[^aeiouy]")
In [9]: with open("/usr/share/dict/words") as words:
for word in words:
if vowelsinorder.match(word):
print word
abstemiously
facetiously
half-seriously
pareciously
In [13]:
T-6005
12-15-2006, 03:58 PM
Wouldn't something with "ness" be disqualified because of the e at the end after u?
Endymion
12-15-2006, 04:24 PM
d'oh, i forgot to add an endline after the non-vowel character thingy at the end.
Endymion
12-15-2006, 04:28 PM
abstemious
abstemiously
abstentious
acheilous
acheirous
acleistous
affectious
aleikoum
anemious
annelidous
arsenious
arterious
bacterious
caesious
facetious
facetiously
fracedinous
half-serious
half-seriously
majestious
parecious
pareciously
tragedious
updated list! note: this is based on the standard linux dictionary
JohnnyNemesis
12-15-2006, 04:38 PM
I don't get it, and i can't afford another F.
no it has to have all of them together in order i think... like (imaginary word) waeiou. I think, but thanks.
...judging from these posts, the F's have just begun.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.