0
Problem in boolean operator (Solved)
Why is it showing false even as b's value is 13? https://code.sololearn.com/cMMfH02zprbA/?ref=app
2 Respostas
+ 1
In Python input is always string. So in line 4 you are comparing strings to integers. No matter what you give as input this will always evaluate to False.
Either convert your input to int. Or put the numbers in line 4 in quotation marks.
0
Thank you Simon Sauter