python-workout icon indicating copy to clipboard operation
python-workout copied to clipboard

e05b1_capitalized output will always be as if the word begins with consonant

Open jkrass1 opened this issue 5 years ago • 1 comments

I think it's supposed to be like that

if word[0].lower() in 'aeiou':
    output = f'{word}way'
else:
    output = f'{word[1:]}{word[0]}ay'

jkrass1 avatar Sep 13 '20 14:09 jkrass1

Yup -- you're right! Fixed; thanks!

reuven avatar Oct 09 '20 10:10 reuven