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
|
end
|
||||||
|
|
||||||
s = 'leetcodeisacommunityforcoders'
|
s = 'leetcodeisacommunityforcoders'
|
||||||
print(remove_vowels(s))
|
puts(remove_vowels(s))
|
||||||
# => "ltcdscmmntyfrcdrs"
|
# => "ltcdscmmntyfrcdrs"
|
||||||
s = 'aeiou'
|
s = 'aeiou'
|
||||||
print(remove_vowels(s))
|
print(remove_vowels(s))
|
||||||
|
|
Loading…
Reference in a new issue