Issue with not accepting gets.chomp code


I am having some issues with these exercises and cannot see my error. Here are the instructions:
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.

CA is not accepting my answer and I don’t see how it’s wrong.

print "What is your input?"
user_input = gets.chomp


When the code runs be sure to type in something and Enter it. Do not enter an empty string.


A post was split to a new topic: Why does it take for ever to load the code


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