Sep-25-2020, 12:22 PM
Dear All,
This question might sound very basic and simple. However, I'm confused over the output which I'm getting in python 3.8.0 terminal.
Operator:- Greater than equal to >=
Say if x>=y To evaluate to true the x value should be greater than equal to y.
Case 1:
Case 2:
In case 2, though 2 is greater than 1 but not equal to 1. So, why it is still giving the true as output
Please advice.
This question might sound very basic and simple. However, I'm confused over the output which I'm getting in python 3.8.0 terminal.
Operator:- Greater than equal to >=
Say if x>=y To evaluate to true the x value should be greater than equal to y.
Case 1:
1 2 |
1 > = 1 True |
1 2 |
2 > = 1 True |

Please advice.