4. Repeat for more input


Hello! Im completely stuck on this one and have no clue what im doing wrong. Could someone please help me?

Here is my code
print "Whats your first name?"
first_name = gets.chomp
print "Whats your last name?"
last_name = gets.chomp
print "whats your city name?"
city_name = gets.chomp
print "whats your state name?"
state_name = gets.chomp

please help me out :slightly_smiling:


I'd like to try. What error message are you seeing?