5/ 7 Can someone explain me what's wrong


#1

print "What's your first name?"
first_name = Mathias
puts "#{first_name}"
puts "Your name is #{first_name}

print "What's your last name?"
last_name = Ben
puts "#{last_name}"

print "Which city are you from?"
city_name = Marseille
puts "#{city_name}
puts " You are from #{city_name} "

print "Which state are you from"?
state_name = "Provence"
puts #{state_name}
puts " ,#{state_name}"

puts "Your name is #{first_name} #{last_name} from #{city_name} ,#{state_name} "


#2

You forgot to place quotes around the string values in: first_name, last_name, and city_name.


#3

In case of first_name in 5/7 it is sufficient to add the following line
print "Your name is #{first_name}!"
In the other cases with last name, city and state it works correspondingly.


#4

print "What's your first name?"
first_name = Mathias
puts "#{first_name}"
puts "Your name is #{first_name}"

print "What's your last name?"
last_name = Guigui
puts "#{last_name}"

print "Which city are you from?"
city_name = Marseille
puts "#{city_name}"
puts " You are from #{city_name} "

print "Which state are you from"?
state_name = Provence
puts "#{state_name}"

Still wrong, displaying this message : (ruby):17: syntax error, unexpected tIDENTIFIER, expecting ':'
puts "#{state_name}"


#5

Got my mistake : print "Which state are you from"? instead of print "Which state are you from?" Little mistake didn't see it
THANKSSSSSS