Why my code is not working properly ??
Doubt in my code
So what is the difference between DNF sort and this sort why I was getting that error ?
And when I looked at its solution video then according to that video my code is correct but not behaving in the way I want it to be. Why is it so ?
Ok so I think the problem is not with variables but the problem is with if - else if - else statements. I was using only if blocks that was my mistake.
@yashsharma4304if you feel that your doubt is cleared you can mark this as resolved.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.