Python If, Else, Elif Statements - Screen 8 - Answer Unclear

When “5 >= 3” is literally false, why does the answer show if True…???

Hi mursuljamil

The >= operator stands for greater than or equal to; so

  • if the left side value is greater than right side value, the result will be True
  • also, if the left side value is equal to right side value, the result will be True
    In case of 5>=3, the left side value is greater than right side value, hence this statement would evaluate to True.
    Hope it’s clear now.