When the input is true, return 'on', otherwise, return 'off'.
The problem statement is misleading. 'if x' and 'if isequal(x, true)' are different conditions.
1514 Solvers
1208 Solvers
239 Solvers
Back to basics 3 - Temp Directory
277 Solvers
179 Solvers