Fix: Ensure all skills are tracked as files, not submodules
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
def remove_vowels(text):
|
||||
"""
|
||||
remove_vowels is a function that takes string and returns string without vowels.
|
||||
>>> remove_vowels('')
|
||||
''
|
||||
>>> remove_vowels("abcdef\nghijklm")
|
||||
'bcdf\nghjklm'
|
||||
>>> remove_vowels('abcdef')
|
||||
'bcdf'
|
||||
>>> remove_vowels('aaaaa')
|
||||
''
|
||||
>>> remove_vowels('aaBAA')
|
||||
'B'
|
||||
>>> remove_vowels('zbcd')
|
||||
'zbcd'
|
||||
"""
|
||||
vowels = 'aeiouAEIOU'
|
||||
return ''.join(char for char in text if char not in vowels)
|
||||
Reference in New Issue
Block a user