Discussion on Week 2's Topic

How do you write a condition in python?

How do you write a condition in python?

by Kaniz Fatema Any 182-15-2096 -
Number of replies: 0

Python supports the usual logical conditions from mathematics:
  1. Equals: a == b.
  2. Not Equals: a != b.
  3. Less than: a < b.
  4. Less than or equal to: a <= b.
  5. Greater than: a > b.
  6. Greater than or equal to: a >= b.