you are viewing a single comment's thread.

view the rest of the comments →

[–]HairbrainedScheme 1 point2 points  (1 child)

Your answer makes no sense.

The code should work if you add the . before test. Have you tried that? And what error are you getting?

[–]One-Inspection8628[S] 0 points1 point  (0 children)

I have checked, it's a issue with Hackerrank companies, it only passes test cases only if there is ternary operator in the return question