2. Getting the User's Input



I seriously have hatred for this thing...
Oops, try again.
It looks like you didn't print two prompts for the user to the console using 'puts'.

text = gets.chomp
redact = gets.chomp

So what was my mistake...?


Oh, how silly of me. I just realized what I was supposed to do.


puts is a print out statement.

try something more similar to this:

input = gets.chomp
puts input


puts "text "
text = gets.chomp
puts "redact "
redact = gets.chomp
That's what I was supposedly supposed to do.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.