I wrote same code, one is in Python and another one is in C++. Actually I m C++ preferred coder but knows basic Python. When I wrote the code in C++, I got 20 points. I tried everything, still, I got 20 points. At last, I have to do it in python since it was a very easy Question.
Although I got 100 points for this, still want to know the reason, why my code didn’t get 100 points in C++.