Lesson 7 Interpolation string not printing


Hi there, I have passed lesson but when I print a string with an "S" the final interpolation string does not not come up. However it does if I first input a string with an S. Is this a code academy hitch or am I missing something. Below is my code:-

print "How you feeling?"
user_input = gets.chomp

if user_input.include? "s"
user_input.gsub!(/s/, "th")

print "no s's in string"

puts "What's up doc? #{user_input}"


Hi try to put the end before the puts like that


puts "What's up doc? #{user_input}"