Ad
  • Default User Avatar

    Hi and welcome to Codewars - since you are new to the site, please note:

    If you post any code on the Discourse page, please use the "Spoiler" flag option (otherwise your code is visible to everyone, even people who have not solved the kata - this can spoil the kata for them).

    Also, if you'd like people to read your code it's very helpful (especially for larger amounts of code) to format it using the basic Codewars Markdown tool:

    https://docs.codewars.com/references/markdown/

    it's easy to learn in 2 minutes and makes it much easier to read code on the site.