Help!


#1



https://www.codecademy.com/courses/ruby-beginner-en-JdNDe/0/4?curriculum_id=5059f8619189a5000201fbcb#


It says Oops, try again. Your code doesn't look quite right. Check the first exercise if you need help!
undefined method 'include?' for nil:NilClass


print "Enter a string and turn it into Daffy Duck's \"language\"!"
user_input = gets.chomp.downcase!

if user_input.include? "s"
end


Can someone please help me?


#2

After the if statement, include a print statement, like:

print "I found some s"

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.