Lesson 7 troubles


#1

I'm just coming back to this tutorial and i have no idea where or why to put in string interpolation in this. Thank you

print "give me a thtring"

user_input = gets.chomp
user_input.downcase!

if user_input.include? "s"

user_input.gsub!(/s/, "th")

else print "no s's for you"

end

my_string = "sweet"

Puts "bro #{my_string}!"


#2

Hi @sam_bolton,

Are you getting any error for lesson 7 with this code? Note that you should be having puts on last line and you have to interpolate user_input not my_string.