15/20 One-Liners


Example for a one - liner

if a < b (you then should do something) puts 'a is less then b'


This is what I did but codeacademy wont accept it as a solution.

if 1 < 2 then puts "One is less than two" end


the "One is less than two!" goes before the if statement
"One is less than two!" if 1 < 2

there is also no need for the "end" keyword