code:
Wrong ans,Not Getting Mistake
@n.nishchaya2000
Why were you taking inputs as int, and then converting them to strings? you could take inputs as strings.
I have corrected your code please check.
you are not printing a new line after each test case.