Hi @Harikesh_Kumar,
Not getting expected output is a sign of incorrect implementation of the exercise, but that is not uncommon in learners’ first trial in any exercise. I would suggest you to follow this general code debugging tips so that you can keep track of the progress of your code and see which line doesn’t work to your expectation.
As @Osama_Saad_Farouk pointed out, it’s important we make sure the code is implemented in the right way, and following my tips will help you make sure it that way.
Cheers,
Raymond