Microsoft.learn solution?
Hi
Im currently working my way through the lessons on this platform. I have come to the section where you learn about string interpolation and character escape sequences. I was given the code challenge in the pictures i have provided. I have provided my solution and the solution that the platform suggested. My solution was correct, but, when I seen the solution provided by the platform, it didn't seem to be as concise as the one I used. I was just wondering if anyone can tell me if my code is better or is there something I am missing?
Im currently working my way through the lessons on this platform. I have come to the section where you learn about string interpolation and character escape sequences. I was given the code challenge in the pictures i have provided. I have provided my solution and the solution that the platform suggested. My solution was correct, but, when I seen the solution provided by the platform, it didn't seem to be as concise as the one I used. I was just wondering if anyone can tell me if my code is better or is there something I am missing?



