Please tell me the approach is write or not

Hello @anshulgurawalia corrected your code:

can you please comment out the mistake made by me?

@anshulgurawalia check this:


commented the mistake;