please give the solution in python
I don't get this ,than i take solution but the solution in another language
Hey @Deep50, this is the solution in python,
Hope this resolved your doubt.
Plz mark it as resolved in my doubts section. 
its working ,thank to you . can you explain this code