Wrong answer accepted (${var} instead of #{var})


#1
print "gimme something!"
user_input = gets.chomp
user_input.downcase!

if user_input.include? "s"
    user_input.gsub!(/s/, "th")
else
    puts "Doesn't have an s"
end
# error
puts "Result is: ${user_input}"

This is accepted, but shouldn't be; I guess.

edit: The script actually runs. The output reads: "Result is: ${user_input}"


#2

You passed the exercise with this? Must be a bug, should be # instead.


#3

That's what the title says, yes. :wink:

I posted it here, since I thought it's better placed than just randomly on reddit. And I couldn't find the option to report a bug - I guess it's only available in preview/new courses. More a bug report than a question. :innocent: