Pythin comparison operators

Ace your homework & exams now with Quizwiz!

>=

If the value of the left operand is greater than or equal to the value of right operand, then condition becomes true

<=

If the value of the left operand is less than or equal of the value of right operand, then condition becomes true.

<

If the value of the left operand is less than the value of right operand, then condition becomes true

>

If the values of the left operand is greater than the value of the right operand, then condition becomes true

==

If the values of two operands are equal, then the condition becomes true

!=

If values of two operands are not equal, then condition becomes true


Related study sets

PSYC 1020: Memory multiple choice questions

View Set

General Appraiser Market Analysis Highest and Best Use

View Set

Property Chapter 4 ExamFx: NC Statutes & Regulations For Property

View Set

Macroeconomics: Ch. 9 / Economic Growth and Rising Living Standards

View Set

RN 2.0 Caregiving - Custom Adaptive

View Set

Special Topic: Relativity and Spacetime

View Set