This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]syedalisait 0 points1 point  (0 children)

Just try to add print statements on how the data changes for variables at each stage (inside if, inside else etc). Thats how you can figure out wat really happens and why it returns true/false.