can you give the link to the challenge?
This challenge is only asking you the use the
< operator and if you go down the website you should see this.
testLessThan(0) should return "Under 25"
testLessThan(24) should return "Under 25"
testLessThan(25) should return "Under 55"
testLessThan(54) should return "Under 55"
testLessThan(55) should return "55 or Over"
testLessThan(99) should return "55 or Over"
You should use the < operator at least twice
Which means that any you do need to pass those test too, in this challange there is no for you add
val < 24 because the test is expecting to see
val < 25 I now is confusing sometime but you get use to it.
What error message are you getting when you run this code?
In your screenshot, I don’t see any error messages.
Also, please try to avoid screenshots when you need help with challenges. It is best to use the ask for help button instead.
Good point I’ll keep it in mind, my bad.
@Jose_Elias_Sanchez already gave me the answer to this issue. Thank you both.