0
Can u fix this..
https://code.sololearn.com/cD5Y761SNnmX/?ref=app If i put dd as the input, the answer comes out to be hf.
2 Réponses
+ 7
No Manas. Your code is bug free. Just input your elements in this format.
dd
2
Your answer will be 4.
There's nothing wrong with your code.
+ 3
It is working fine. U might be giving wrong input.
To debug, print the x value after you give the input.