I’ve been working through the HackerRank problems and trying to always research a solution before asking in any communities for help. While I managed to get the current one to work, I feel there is some unnecessary code involved and that someone can teach me how to do it better, as I’d hate to pick up a bad habit just