Oops, try again. Your code doesn't look quite right. Check the first exercise if you need help!

can you check my code?

print "Input here: "
user_input = gets.chomp
user_input = user_input.downcase!
if user_input.include? "s"
    puts "Your string is: #{user_input}"

This line will set user_input to nil if there is no change in case. There needs to be at least one capital letter in the input. Change to,

    user_input = user_input.downcase

Now you can input only lowercase and still set the value correctly.

A post was split to a new topic: 99 problems