mirror of
https://github.com/TheAlgorithms/Ruby
synced 2024-12-27 21:58:57 +01:00
Update data_structures/arrays/remove_vowels.rb
Co-authored-by: vzvu3k6k <vzvu3k6k@gmail.com>
This commit is contained in:
parent
5ed65199d7
commit
5bf141f64f
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ def remove_vowels(s)
|
|||
end
|
||||
|
||||
s = 'leetcodeisacommunityforcoders'
|
||||
print(remove_vowels(s))
|
||||
puts(remove_vowels(s))
|
||||
# => "ltcdscmmntyfrcdrs"
|
||||
s = 'aeiou'
|
||||
print(remove_vowels(s))
|
||||
|
|
Loading…
Reference in a new issue