1119. Remove Vowels from a String

Updated: 2024-03-12
1 min read
[]

On This Page

LeetCode problem 1119

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