I need some help over here! i really can pass this step


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/learn-ruby/lessons/redacted/exercises/getting-the-users-input?action=lesson_resume&link_content_target=interstitial_lesson

<In what way does your code behave incorrectly? Include ALL error messages.>
this is my code

puts " what is my name?"
text = gets.chomp
puts " mambona mambu"
redact =gets.chomp

and nothing is happening after clicking on “run”



Replace this line with your code. 



#2

text = gets.chomp

How does gets.chomp work?

when you run ruby waits for a input from the user.you need to type something and press enter.It sets the value what you type to the variable.


#3

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