Ruby Ruby Basics Strings Escape Sequences

Saadia Fattah
Saadia Fattah
1,939 Points

I don't get it! why won't it go correctly on my first 2 put?

Whenever I try to it doesn't color cade like it's supposed to.

puts  \n
puts  \t
puts  \"cats

1 Answer

Jay McGavren
Jay McGavren
Treehouse Teacher

You need to pass strings to the puts method. Strings need to be surrounded with quotation marks. Try surrounding each of those with " double quotation marks.