Solution: Fix the Code
In this lesson, we will see how the code given in the previous lesson can be fixed to give the right output in every use case.
Let’s have a look at the fixed code first.
Solution #
Get hands-on with 1300+ tech skills courses.