Lesson 7 troubles


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

if user_input.include? "s"

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

else print "no s's for you"


my_string = "sweet"

Puts "bro #{my_string}!"


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.