@DainPark-web: Please don't post solutions in Discourse. Code must be posted with a spoiler flag (which makes it invisible to the users who didn't solve the kata). Someone put the flag for you this time.
@nicholasjperry: you have to return the result, not print it.
Yikes, sorry. Thanks!
@DainPark-web: Please don't post solutions in Discourse. Code must be posted with a spoiler flag (which makes it invisible to the users who didn't solve the kata). Someone put the flag for you this time.
@nicholasjperry: you have to
return
the result, not print it.This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution