The output is same as expected from test cases,it is working in c++ but not in python

output is correct but,not being accepted

Hello @Shivambansal0804,

Happy to have you in our community.

Kindly share your code through Coding Blocks IDE.
Thanks