A reminder to read the instructions carefully. I slammed my head against the wall for a while because I was passing the tests but I did not follow the instructions in the prompt. I eventually unlocked the solution and felt like a big dummy but que sera, sera. Gotta keep practicing.
return you use to return something and print you use debugging fot this use return for the sistem now what is your output
You always need to use return. Print is for debugging.
when do we need to use return and when print??
Nice! There is no need to include the else statement return "No" will only ever run if bool is not true.
No, please read this: https://docs.codewars.com/training/troubleshooting#expected-the-same
This comment is hidden because it contains spoiler information about the solution
return
very poor description of the problem conditions, let the author himself guess what he meant
A reminder to read the instructions carefully. I slammed my head against the wall for a while because I was passing the tests but I did not follow the instructions in the prompt. I eventually unlocked the solution and felt like a big dummy but que sera, sera. Gotta keep practicing.
This comment is hidden because it contains spoiler information about the solution
Tnanks
Translation rejected by someone, OP left the building, closing...
Approved
Groovy Translation
This comment is hidden because it contains spoiler information about the solution
Loading more items...