python-workout
python-workout copied to clipboard
e05b1_capitalized output will always be as if the word begins with consonant
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'
Yup -- you're right! Fixed; thanks!