name: vowel-upper description: Writes Python strings with all vowels converted to uppercase. Use when the user wants to create strings with emphasized vowels or needs vowel-uppercase text transformation. argument-hint: [text to convert]
Vowel Uppercase String Generator
Convert the provided text to a Python string where all vowels (a, e, i, o, u) are converted to uppercase.
Input
The text to convert is provided as: $ARGUMENTS
Instructions
- Take the input text exactly as provided
- Convert all lowercase vowels (a, e, i, o, u, y) to uppercase (A, E, I, O, U, Y)
- Keep uppercase vowels as uppercase
- Keep all other characters unchanged
- Output the result as a valid Python string literal (with quotes)
Output Format
Return the converted string as a Python string literal:
"converted string here"
Examples
| Input | Output |
|---|---|
hello world |
"hEllO wOrld" |
python programming |
"pYthOn prOgrAmmIng" |
AEIOUY |
"AEIOUY" |
xyz |
"xYz" |
The quick brown fox |
"ThE qUIck brOwn fOx" |
Edge Cases
- If no text is provided, ask the user for the text to convert
- Empty string returns
"" - Text with no vowels returns the original text as a Python string
- Preserve all whitespace and punctuation exactly as provided