problems/TWODOGS/why am i getting wrong answer

link text question

link text my answer

i am getting correct ans for all the test cases which i have tried . can someone point me what is wrong in my code

1 Like
//