Learn
First, we should print
a statement to prompt the user for input, then set that input to a variable using gets.chomp
.
Instructions
1.
Use print
to ask the user for input.
Declare a variable called user_input
and set it equal to the user’s input using gets.chomp
.
Take this course for free
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.