No "S"s in Somethings Wrong?


#1
print"Whath up doc?"
print=gets.chomp
user_input.downcase!

if user_input.include? "s"
user_input.gsub!(/s/,"th")
else
print"What no ethes?"
end
puts#{user_input}

so here's my code.
When I put my user string in it spits out the else response no matter what I put in.
Any reason it shouldnt read the 'S's?


#2

I should probably mention that the program says I passed but Id like to figure this out...


#3

print "Enter some text:"
user_input = gets.chomp
# expect to test the input string in later lesson
user_input.downcase!

#4

Thanks! Got it. My (puts) was out of place and not in quotations. Its the little things in life and coding apparently. :grinning: