I'm not sure what's going on, I've tried this about twenty times and it keeps rejecting my code.
Error message: Oops, try again.
Make sure to print each word from the user's text to the console
unless that word is the word to be redacted; if it is, print REDACTED
puts "Enter text" text = gets.chomp puts "Enter text again" redact = gets.chomp words = text.split (" ") words.each do |word| print word if word == redact print "REDACTED " else print word + " " end end