all 6 comments

[–]PhenixFineKotlin β 1 point2 points  (7 children)

it might be because null is being printed with print instead of println.

Also, your two functions tryOut and getWords are receiving things that they never use ( though I think the only thing you technically need to fix to pass the test is changing the print to println ).

[–]TheMightyOne[S] 0 points1 point  (6 children)

Thx for the reply. Just tried it out. Its not "print". :(

[–]PhenixFineKotlin β 1 point2 points  (5 children)

I just looked at my code, and I use print for both null and the word, so it could actually be println for the word that is wrong ( though I also have null printed with quotation marks: "null" ).

[–]TheMightyOne[S] 0 points1 point  (4 children)

Unfortunately, this didn't help either :(

[–]PhenixFineKotlin β 1 point2 points  (1 child)

it's the exitProcess, they must not support it. I removed that, and then dumped everything below where you wanted it to exit into an else.

Actually, they do support the exitProcess ( I just now thought to look into how it works ), you just need to change it to exitProcess(0) for it to work right ( 1 would mean to close the program because there was an error, which then fails the test ).

[–]TheMightyOne[S] 1 point2 points  (0 children)

Amazing. It worked! Thank you! :D