Welcome to the Treehouse Community
Looking to learn something new?
I can't figure out why treehouse won't accept this answer. Here are the instructions "Use the less than operator to determine whether the variable 'b' is less than the variable 'a'". The error message says to "double check the order of the variables" I've tried switching the order a few ways and the error stills keeps coming up. Any ideas?
"b" < "a"
Emily ColtmanCourses Plus Student 9,623 Points
You've got apostrophes round the variables, which I think turns them into strings - try writing b < a instead of "b" < "a"?
james southFront End Web Development Techdegree Graduate 33,258 Points
i don't know much about ruby but is your code comparing strings or variables? in other languages you are comparing the letter b to a, not variables called b and a.