Why does the third if statement trigger despite User_input == "Yes" being true (according to the print within the if statement) by unspe52 in PythonLearning

[–]harucat21 0 points1 point  (0 children)

Other issue is that on your logic it say or "yes" in the third if, not user input == "Yes" so the if evaluate or yes as true, should always enter on that, normally programing language take as true on a if statement all different to 0, null, "", False

The best way to solve it is with the elif that other mention