pyassistant

Reverse Strings and Remove Vowels

Given a list of strings, produce a new list where each string is first reversed and then all vowels are removed from the reversed string. Vowels are the letters 'a', 'e', 'i', 'o', 'u' in either lowercase or uppercase. Preserve the original order of items; if removing vowels yields an empty string, include the empty string in the result.

Example:

Input:
(["Hello", "world", "AEIOU", "python"])
Output:
['llH', 'dlrw', '', 'nhtyp']

Make sure you return your solution, don't print!

AI

Bot

Trying to solve my challenge? Ask if you must, or press the purple button so I can analyze your code.