What does this mean?


#1

"Oops, try again. Make sure to call capitalize! on first_name, last_name, and city."

here is my code:

print "What's your first name?"
first_name= gets.chomp
first_name= first_name.capitalize
print "What's your last name?"
last_name= gets.chomp
last_name= last_name.capitalize
print "What city do you live in?"
city= gets.chomp
city= city.capitalize
print "What is your state abbreviation?"
state= gets.chomp
state= state.capitalize
print "Your name is #{first_name}!"

#2

Hi @geekrealms,

Hint: You have to call capitalize!. You are currently calling capitalize.