Skip to content

Commit 4e7ba81

Browse files
committed
change
1 parent b11a7c8 commit 4e7ba81

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

5_letters.rb

+3-10
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
next unless guesses.length.positive?
1818

1919
guesses.each do |guess|
20-
puts "#{count} #{guess} #{proverb}"
20+
# puts "#{coeaneaneaunt} #{guess} #{proverb}"
2121
count += 1
2222
if result.key?(guess)
2323
result[guess] << proverb
@@ -27,13 +27,6 @@
2727
end
2828
end
2929

30-
binding.pry
30+
puts result
3131

32-
33-
# puts count
34-
# if one of the words is made of 5 letters print the proverb
35-
# if words.any? { |word| word.length == 5 }
36-
# puts "#{count} #{proverb}"
37-
# count += 1
38-
# end
39-
# p words
32+
# binding.pry

0 commit comments

Comments
 (0)