Unable to print the string using interpolation


#1

print 'string please: '
user_input = gets.chomp
user_input.downcase!

if user_input.include? 's'
user_input.gsub!(/s/, 'th')
else
print 'no s'
end

puts 'String: #{user_input}'

This is my code and my output is
String: #{user_input}

It doesn't print the value of the variable. Can you please let me know the reason


#2

Double quotes are required for string interpolation "#{user_input}"