thiagowfx's avatar

Β¬ just serendipity πŸ€ (not just serendipity)

LeetCode #1119: Remove Vowels from a String

β€’ 27 words β€’ 1 min β€’ updated

LeetCode #1119: Remove Vowels from a String:

python
class Solution:
    def removeVowels(self, s: str) -> str:
        return ''.join([c for c in s if c not in 'aeiou'])