Why my code is giving wrong answers
hello , sir please reply
Hey @dhruvilcodes
Take input first and then run your algo
Otherwise when u break for current input then remaining input is taken into next line
ay . # …
So here when u break at # then next line will take input from . . . in your code
1 Like