I am beginner who thought before doing the String Methods section of the course "You know what, let's test my skills". And boy my skills were tested. After I completed the challenge my jaw dropped, with the solution.
Had/Have this happened to y'all. Where you make something complicated and found out that there was a simple solution?
Solution
Show
![](https://lemmy.ml/pictrs/image/e67483d5-ebd0-4007-93fa-830b53a5f981.png)
My Code
Show
![](https://lemmy.ml/pictrs/image/f05b7c85-894d-4b27-898e-2486bf31553c.png)
Facts, you made a good point.