Skip to content

Spoke Right

Education for everyone

https://spokeright.com
Primary Menu
  • Home
  • Our Services
    • Translation
    • Interpretation
    • Transcription
    • Voice-Over
    • Proofreading
    • Content writing
  • Free Education
    • Learn Android Studio
    • Learn Python
    • Learn MongoDB
    • Learn MySql
    • Learn React
    • Montessori Education
  • Spoke Right News
  • Earn Online
  • Classic Games by Spoke Right
    • TicTac
    • Checkers
    • Foosball
    • Billiards
    • Master Chess
    • Logic Game
  • Contact Us
Download Now
  • Home
  • Learn Python
  • What are operators in Python
  • Learn Python

What are operators in Python

Spoke Right December 2, 2022 1 min read

Python Opreators

Python Operators are used to perform operations on operands. Operands can be a variable or a constant. The operators are divided into seven groups on the basis of the basic operations they perform.

Arithmetic Operators:

The operators which are used to perform the arithmetical operations, are grouped together as Arithmetic operators.

OperatorsSymbol
Addition+
Subtraction–
Multiplication*
Division/
Modulus%
Exponentiation**
Floor Division//

Assignment Operators:

The operators which are used to assign values to a variable, are grouped together as Assignment operators.

OperatorsSymbol
Equals To=
Added Value+=
Subtracted Value-=
Multiplicated Value*=
Divided Value/=
Modulus Value%=
Exponent and assign**=
Floor division and assign//=

Comparison Operators:

The operators which are used to compare two values, are grouped together as Comparison operators.

OperatorsSymbol
Equal==
Not equal!=
Greater than>
Less than<
Greater than or equal to>=
Less than or equal to<=

Identity Operators:

The operators which are used to compare the same object, with the same memory location, are grouped together as Identity operators.

OperatorsSymbol
 Identicalis
Not Identicalis not

Logical Operators:

The operators which are used to perform logical operations, are grouped together as Logical operators.

OperatorsSymbol
ANDand
ORor
NOTnot

Membership Operators:

The operators which are used to check if a sequence is present in an object, are grouped together as Membership operators.

OperatorsSymbol
Memberin
Not a Membernot in

Bitwise Operators:

The operators which are used to perform Bitwise operations, are grouped together as Bitwise operators.

OperatorsSymbol
AND&
OR|
XOR^
NOT~
Zero fill left shift<<
Signed right shift>>

Continue Reading

Previous: What are Python literals
Next: What is comment Python

Related Stories

What is Data Statistics And Analysis With Java And Python
9 min read
  • Learn Python

What is Data Statistics And Analysis With Java And Python

December 7, 2022
How do I get the date in Python
2 min read
  • Learn Python

How do I get the date in Python

December 7, 2022
What is an exception handler in Python
2 min read
  • Learn Python

What is an exception handler in Python

December 7, 2022

This AD Will support Us

Support Us

Coding Ustad LTD Support
Coding Ustad LTD Support

Coding Ustad LTD

Coding Ustad LTD
Coding Ustad LTD

Recent Posts

  • How to Install Node.js and npm on CentOS 7
  • How to Install Node.js and npm on CentOS 7
  • How to Install CentOS Web Panel (CWP) on CentOS 7
  • The Power of Marketing in Real Estate: A Guide to Boost Your Business
  • Vehicle Verification in Pakistan

Get free Hosting

Hostens.com - A home for your website

You may have missed

How to Install Node.js and npm on CentOS 7
4 min read
  • Coding Ustad LTD
  • Education for Everyone

How to Install Node.js and npm on CentOS 7

May 3, 2023
How to Install Node.js and npm on CentOS 7
4 min read
  • Coding Ustad LTD
  • Education for Everyone

How to Install Node.js and npm on CentOS 7

May 2, 2023
How to Install CentOS Web Panel (CWP) on CentOS 7
3 min read
  • Coding Ustad LTD
  • Education for Everyone

How to Install CentOS Web Panel (CWP) on CentOS 7

May 2, 2023
The Power of Marketing in Real Estate: A Guide to Boost Your Business https://thaikadar.com/secureinvestment/
2 min read
  • Article By Spoke Right
  • Blog By Spoke Right
  • Circular Byte Private Limited

The Power of Marketing in Real Estate: A Guide to Boost Your Business

January 30, 2023
  • Home
  • Our Services
  • Free Education
  • Spoke Right News
  • Earn Online
  • Classic Games by Spoke Right
  • Contact Us
Copyright © All rights reserved. | MoreNews by AF themes.