Not giving output

Hello @shivansh.sm1,

There was mistake in the code.
I have corrected it.
Please, refer to the comments.

Hope, this would help.
Give a like if you are satisfied.

1 Like