Programming with Python

⌘K
  1. Home
  2. Docs
  3. Programming with Python
  4. Variables, Expression and...
  5. Operators and Types of Operators

Operators and Types of Operators

Definition

  • Operators are the constructs which can manipulate the value of operands
  • Example: 5+ 2 = 7
  • Here 5 and 2 are operands and + is operator

Types of Operators

Python supports the following types of operators

  • Arithmetic operators
  • Comparison (Relational) Operators
  • Assignment Operators
  • Logical Operators
  • Bitwise Operators
  • Membership Operators
  • Identity Operators

Loading

Views: 3

Articles

How can we help?

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments