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'])∎
Connections
Shared tags