5. Printing the Output


#1


What am I doing wrong?

https://www.codecademy.com/en/courses/ruby-beginner-en-MxXx5/0/5?curriculum_id=5059f8619189a5000201fbcb#

(ruby):12: syntax error, unexpected tCONSTANT, expecting $end
city = "Miami"
^


first_name = "Lily"
puts "Your name is #{first_name}!"
last_name = "Belle"
puts "Your last name is #{last_name}!
city = "Miami"
puts "Your city is #{city}!
state = "Florida"
puts "Your state is #{state}!


#2

Hi you have this string open

puts "Your last name is #{last_name}!

missing the "


#3

Thank you so much! I knew it had to be something so simple.


#4

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