Help shape GoConqr. What should we add next?

Flashcards

Comparison Operators and Chaining Booleans

Rebecca Noel Python Basics none English 11 cards

Cards in this deck (11)

  1. 1==if the values of two operands are equal, then the condition becomes true.
  2. 2!=if values of two operands are not equal, then condition becomes true.
  3. 3<>If values of two operands are not equal, then condition becomes true.
  4. 4>if the value of left operand is greater than the value of right operand, then condition becomes true.
  5. 5<if the value of left operand is less than the value of right operand, then condition becomes true.
  6. 6>=if the value of left operand is greater than or equal to the value of right operand, then condition becomes true.
  7. 7<=if the value of left operand is less than or equal to the value of right operand, then condition becomes true.
  8. 81<2 and 2<3True
  9. 9The 'and' statement is used to ...make sure two checks have to be true in order for the total check to be true
  10. 101==2 or 2<3True
  11. 11The 'or' operator only needsat least one statement to be true in order for the whole comparison to be true.

Information

Description
none Python Basics (Python Comparison Operators) Flashcards on Comparison Operators and Chaining Booleans, created by Rebecca Noel on 21/12/2016.
Created by
Rebecca Noel
Views
34
Tags
python 2pythoncomparison operatorsbooleansbooleanandorchain
Rating

Feedback

What is it about?

What should we add next?