diff --git a/05 Bagels/ruby/bagels.rb b/05 Bagels/ruby/bagels.rb index 9dea2b78..00330ce1 100644 --- a/05 Bagels/ruby/bagels.rb +++ b/05 Bagels/ruby/bagels.rb @@ -13,7 +13,6 @@ def print_instructions end def generate_target - # pick a three digit number with no repeating numbers. # gien that, 102-987 is a reasonable starting point! target = rand(102..987) while target.to_s.split('').uniq.size < 3