-5

Are these all the operators in Python or are there more?

==, !=, >=, <=
Remi Guan
  • 21,506
  • 17
  • 64
  • 87
Noor350
  • 1
  • 1
  • Equality operators can have a variety of inputs, but have Boolean outputs only (True or False). So `a==1` , `word=="Sarah"`, `word!='Sarah'` are all expressions that test equality. The `<`,`<=`,`>`,`>=` operators go further to compare numbers. You often use such expressions in `if.. else` conditions. – roadrunner66 Mar 07 '16 at 03:51
  • 1
    What do you need help with? Have you even done a search? I can assure you that the [python docs](http://docs.python.org) contain this information. – Patrick Allen Mar 07 '16 at 03:51

1 Answers1

1

Operators in python docs

The equality operators are the ones with the = sign before them, so yes they are the only ones :)

BUT

If you are ever unsure of anything regarding syntax or usage your best bet is Python Docs, it's even available offline with a quick press on F1 in IDLE as well as being on the internet.

Benno_S
  • 69
  • 1
  • 8