mirror of
https://github.com/TheAlgorithms/Ruby
synced 2024-12-26 21:58:56 +01:00
Change print to puts
This commit is contained in:
parent
5bf141f64f
commit
31d9e8e0a2
1 changed files with 5 additions and 5 deletions
|
@ -36,7 +36,7 @@ s = 'leetcodeisacommunityforcoders'
|
|||
puts(remove_vowels(s))
|
||||
# => "ltcdscmmntyfrcdrs"
|
||||
s = 'aeiou'
|
||||
print(remove_vowels(s))
|
||||
puts(remove_vowels(s))
|
||||
# => ""
|
||||
|
||||
#
|
||||
|
@ -51,10 +51,10 @@ def remove_vowels(s)
|
|||
end
|
||||
|
||||
s = 'leetcodeisacommunityforcoders'
|
||||
print(remove_vowels(s))
|
||||
puts(remove_vowels(s))
|
||||
# => "ltcdscmmntyfrcdrs"
|
||||
s = 'aeiou'
|
||||
print(remove_vowels(s))
|
||||
puts(remove_vowels(s))
|
||||
# => ""
|
||||
|
||||
#
|
||||
|
@ -67,8 +67,8 @@ def remove_vowels(s)
|
|||
end
|
||||
|
||||
s = 'leetcodeisacommunityforcoders'
|
||||
print(remove_vowels(s))
|
||||
puts(remove_vowels(s))
|
||||
# => "ltcdscmmntyfrcdrs"
|
||||
s = 'aeiou'
|
||||
print(remove_vowels(s))
|
||||
puts(remove_vowels(s))
|
||||
# => ""
|
||||
|
|
Loading…
Reference in a new issue