Introduction To Python Part 3

Jreyes
2 min readNov 14, 2021

This week we will continue where we left off.

Operators

Operators in python are used to do operations between two values or variables. Following are the different types of operators that we have in python:

  • Arithmetic Operators
  • Logical Operators
  • Assignment Operators
  • Comparison Operators
  • Membership Operators
  • Identity Operators
  • Bitwise Operators

Arithmetic Operators

Arithmetic operators are used to perform arithmetic operations between two values or variables.

Assignment Operators

Assignment operators are used to assign values to a variable.

Logical Operators

Logical operators are used to compare conditional statements in python.

Comparison Operators

Comparison operators are used to compare two values.

Membership Operators

Membership operators are used to check whether a sequence is present in an object.

Identity Operators

Identity operators are used to compare two objects.

Bitwise Operators

Bitwise operators are used to compare binary values.

Now that we have understood operators in python, lets understand the concept of loops in python next week for my next post.

Jump to the next chapter

Happy Codding.

--

--

Jreyes

I'm a software engineer making his way into the tech industry.