Upper Selected Letters¶
You are required to deliver the following function in the module upper_module (file upper_module.py):
- upper_sel(text, ref)¶
such that
For example:
>>> upper_sel('La Vinagreta', 'aeiou') 'LA VInAgrEtA' >>> upper_sel('La-Vinagreta-123.', 'xyz') 'La Vinagreta 123 '
Note
Observe that digits remain untouched.
Doctests are available in the upper_sel.test file.