Operators are symbols that perform computations on operands and are essential to C++ programming. There are several types of operators including arithmetic, relational, logical, bitwise, and assignment. Arithmetic operators perform math operations, relational operators define relations between operands and return Boolean values, logical operators combine conditions and return Boolean values, bitwise operators perform bit-level operations, and assignment operators assign values to variables.
Operators in Python perform mathematical, logical, and other operations on operands. The basic arithmetic operators are addition, subtraction, multiplication, and division. Comparison operators compare values, including equal, not equal, greater than, and less than. Assignment operators assign values to variables. Logical operators perform logical AND, OR, and NOT operations. Bitwise operators manipulate bits within a binary number. Membership operators test if a value is present within a sequence. Identity operators check if two values are the same type or object.
The document discusses various operators in Python including arithmetic, comparison, bitwise, logical, and membership operators. It provides examples of using each operator and explains their functionality. The key types of operators covered are arithmetic (e.g. +, -, *, /), comparison (e.g. ==, !=, >, <), bitwise (e.g. &, |, ^), logical (e.g. and, or, not), and membership (e.g. in, not in) operators. It also discusses operator precedence and provides examples of expressions using different operators.
Probably not be able to get a better understanding of the most important thing is that I have to go to the hospital and the other is a great way to get the best out of the office and I am not sure if I can get a chance to get the best out of the office and I am not sure if I can get a chance to get the best out of the office and I am not sure if I
Operators perform calculations and comparisons on values in Visual Basic code. There are several types of operators including arithmetic, string, comparison, and logical operators. Arithmetic operators perform math operations like addition and subtraction. String operators concatenate strings. Comparison operators compare values and return Boolean results. Logical operators also return Boolean values and are used to make decisions in code using AND, OR, and NOT operations.
Operators in Python are special symbols or keywords that are used to perform operations on variables and values. Python supports various types of operators, each designed for specific purposes.
An operator is a symbol that tells the computer to perform certain mathematical or logical manipulation on data stored in variables. The variables that are operated are termed as operands.
C operators can be classified into a number of categories. They include:
1. Arithmetic operators
2. Relational operators
3. Logical operators
4. Assignment operator
5. Increment and decrement operators
6. Conditional operator
7. Bitwise operators
8. Special operators
Now, let us discuss each category in detail.
This document discusses operators in VB.NET. It defines operators as symbols that perform operations on variables or values. It describes different types of operators such as arithmetic, comparison, logical, bitwise, and assignment operators. It provides examples of common operators like addition, subtraction, equality checks and AND/OR logic. The document also covers operator precedence and how it determines the order of operations.
Python Programming | JNTUK | UNIT 1 | Lecture 5FabMinds
Ìý
This document provides an overview of the topics covered in Unit 1 of a Python programming syllabus. It includes introductions to computer science topics, computer systems, installing Python, basic syntax, data types, variables, arithmetic operators, expressions, comments, and understanding error messages. Example code and explanations of operators like arithmetic, assignment, comparison, logical, membership, identity, and bitwise are also provided.
In this PPT you learn some basic terminology and basic concept of Python which is a pillar of python programming.So learn Python programming by these PPT.
You get a new presentation every Sunday at 10 AM.
An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations.
C language supports a rich set of built-in operators. An operator is a symbol that tells the compiler to perform certain mathematical or logical manipulations. Operators are used in program to manipulate data and variables.
Python Training in Bangalore | Python Operators | Learnbay.inLearnbayin
Ìý
Python Operators:
Special symbols that represent computations like addition and multiplication. The values the operator is applied to are called operands.
Learnbay.in Provides best python training in Bangalore with placement assistance.
Visit http://www.learnbay.in/shop/courses/python-training-bangalore/ for more details.
Python Training Course Description
Learnbay provides best Python Training in Bangalore with practicals and hands on project experience for freshers and working professional.Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.So,If you are from manual testing background and wants to learn automation,We provide best Python training in Bangalore for learning automation through Python.
Who Should Attend Python Training:
Experienced Professional who want to make career in big data with Python.
Software developers,Project Managers,Software testing professionals.
Anyone who has deep desire to learn Python.
Course delivery:
We Provide Python training Online and in classroom python training in bangalore with 60% theory and 40% hands on,Practice ,Assignment.We provide both online and classroom Python training.
What will you Learn:
Basics and Advance Python Programming.
The document discusses the different types of operators used in the C programming language, including arithmetic, relational, logical, assignment, increment/decrement, conditional, and bitwise operators. It explains what each operator does, its symbol and syntax, and provides examples of how each operator is used. Operators are symbols that allow programmers to perform mathematical, logical, or other operations on data in C programs.
This document discusses operators in the C programming language. It defines operators as program elements that are applied to operands in expressions or statements. The main types of operators covered are arithmetic, relational, equality, logical, bitwise, assignment, and conditional operators. For each type of operator, the document provides examples of their usage and precedence rules for evaluating expressions containing multiple operators.
This document summarizes different types of operators in Java including assignment, increment/decrement, arithmetic, bitwise, relational, logical, ternary, shift, and instance of operators. It provides examples of each type of operator and describes what they are used for such as assigning values, performing mathematical operations, comparing values, and checking object types. The key types of operators covered are assignment, arithmetic, relational, logical, and instance of operators.
This document discusses different types of operators in programming. It defines operators as symbols that tell the computer to perform mathematical or logical manipulations. It then classifies operators into several categories including arithmetic, relational, logical, assignment, increment/decrement, conditional, and bitwise operators. For each category, it provides examples to illustrate how each operator works and what it is used for.
The document discusses the different types of operators in C programming language including arithmetic, assignment, relational, logical, bitwise, conditional (ternary), and increment/decrement operators. It provides examples of how each operator is used in C code and what operation they perform on variables and values.
The document discusses the different types of operators in Java. It defines operators as symbols that operate on arguments to produce a result. It describes the different types of operands that operators can act on, such as numeric variables, primitive types, reference variables, and array elements. The document then lists and provides examples of the main types of operators in Java, including assignment, increment/decrement, arithmetic, bitwise, relational, logical, ternary, comma, and instanceof operators. It explains how each operator is used and provides simple code examples to illustrate their functionality.
OCA JAVA - 3 Programming with Java OperatorsFernando Gil
Ìý
OCA JAVA Training Material
Talking about Programming with Java Operators
- Understanding Fundamentals Operators
- Understanding Operator Precedence
ºÝºÝߣs based in the book: "OCA Java SE 7 Programmer I Study Guide (Examn 1Z0-803)"
The document discusses different types of operators in programming languages like C and C++. It explains that operators take operands as inputs and produce outputs. Common operators covered include arithmetic operators (+, -, *, /, %), unary operators (+, -), increment/decrement operators (++, --), relational operators (<, >, <=, >=, ==, !=), logical operators (&&, ||, !), and others. Examples are provided to demonstrate the usage of each operator. The key purpose of operators is to perform computations on operands through expressions.
this is my presentation on "Operators and Expressions" .this is my beginner days trial, so i cant make it perfect ,,,but surely say that it is most helpful for you
This document discusses operators in Java. It describes the different types of operators in Java including unary, arithmetic, shift, relational, bitwise, logical, ternary, and assignment operators. It provides examples of common operators like increment, decrement, left shift, relational, and assignment operators and explains how they are used to manipulate variables and values in Java.
This document discusses different types of JavaScript operators including arithmetic, comparison, logical, assignment, conditional, and bitwise operators. It provides examples and descriptions of common operators like addition, subtraction, equality, AND, OR, assignment, increment, decrement and more. The document was prepared by trainees of Baabtra as part of a mentoring program and provides contact details for Baabtra, a mentoring company based in Kerala, India.
The document summarizes the different types of operators in the C programming language. It describes arithmetic operators for mathematical calculations, assignment operators for assigning values to variables, relational operators for comparing values, logical operators for logical operations, bitwise operators for bit operations, conditional (ternary) operators for conditional expressions, and increment/decrement operators for increasing or decreasing variable values. Examples are provided for each type of operator to demonstrate their usage.
OCA Java SE 8 Exam Chapter 2 Operators & Statementsİbrahim Kürce
Ìý
Operators in Java include unary, binary, and ternary operators that perform operations on operands. Binary operators like arithmetic, relational, and logical operators follow an order of precedence unless overridden by parentheses. Statements in Java include if-then, if-then-else, switch, while, do-while, for, and more to control program flow. The if-then statement and if-then-else statement evaluate conditions and execute code blocks conditionally. The switch statement compares a value to multiple case labels and executes the corresponding code block.
This document discusses operators in VB.NET. It defines operators as symbols that perform operations on variables or values. It describes different types of operators such as arithmetic, comparison, logical, bitwise, and assignment operators. It provides examples of common operators like addition, subtraction, equality checks and AND/OR logic. The document also covers operator precedence and how it determines the order of operations.
Python Programming | JNTUK | UNIT 1 | Lecture 5FabMinds
Ìý
This document provides an overview of the topics covered in Unit 1 of a Python programming syllabus. It includes introductions to computer science topics, computer systems, installing Python, basic syntax, data types, variables, arithmetic operators, expressions, comments, and understanding error messages. Example code and explanations of operators like arithmetic, assignment, comparison, logical, membership, identity, and bitwise are also provided.
In this PPT you learn some basic terminology and basic concept of Python which is a pillar of python programming.So learn Python programming by these PPT.
You get a new presentation every Sunday at 10 AM.
An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations.
C language supports a rich set of built-in operators. An operator is a symbol that tells the compiler to perform certain mathematical or logical manipulations. Operators are used in program to manipulate data and variables.
Python Training in Bangalore | Python Operators | Learnbay.inLearnbayin
Ìý
Python Operators:
Special symbols that represent computations like addition and multiplication. The values the operator is applied to are called operands.
Learnbay.in Provides best python training in Bangalore with placement assistance.
Visit http://www.learnbay.in/shop/courses/python-training-bangalore/ for more details.
Python Training Course Description
Learnbay provides best Python Training in Bangalore with practicals and hands on project experience for freshers and working professional.Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming. Python’s elegant syntax and dynamic typing, together with its interpreted nature, make it an ideal language for scripting and rapid application development in many areas on most platforms.So,If you are from manual testing background and wants to learn automation,We provide best Python training in Bangalore for learning automation through Python.
Who Should Attend Python Training:
Experienced Professional who want to make career in big data with Python.
Software developers,Project Managers,Software testing professionals.
Anyone who has deep desire to learn Python.
Course delivery:
We Provide Python training Online and in classroom python training in bangalore with 60% theory and 40% hands on,Practice ,Assignment.We provide both online and classroom Python training.
What will you Learn:
Basics and Advance Python Programming.
The document discusses the different types of operators used in the C programming language, including arithmetic, relational, logical, assignment, increment/decrement, conditional, and bitwise operators. It explains what each operator does, its symbol and syntax, and provides examples of how each operator is used. Operators are symbols that allow programmers to perform mathematical, logical, or other operations on data in C programs.
This document discusses operators in the C programming language. It defines operators as program elements that are applied to operands in expressions or statements. The main types of operators covered are arithmetic, relational, equality, logical, bitwise, assignment, and conditional operators. For each type of operator, the document provides examples of their usage and precedence rules for evaluating expressions containing multiple operators.
This document summarizes different types of operators in Java including assignment, increment/decrement, arithmetic, bitwise, relational, logical, ternary, shift, and instance of operators. It provides examples of each type of operator and describes what they are used for such as assigning values, performing mathematical operations, comparing values, and checking object types. The key types of operators covered are assignment, arithmetic, relational, logical, and instance of operators.
This document discusses different types of operators in programming. It defines operators as symbols that tell the computer to perform mathematical or logical manipulations. It then classifies operators into several categories including arithmetic, relational, logical, assignment, increment/decrement, conditional, and bitwise operators. For each category, it provides examples to illustrate how each operator works and what it is used for.
The document discusses the different types of operators in C programming language including arithmetic, assignment, relational, logical, bitwise, conditional (ternary), and increment/decrement operators. It provides examples of how each operator is used in C code and what operation they perform on variables and values.
The document discusses the different types of operators in Java. It defines operators as symbols that operate on arguments to produce a result. It describes the different types of operands that operators can act on, such as numeric variables, primitive types, reference variables, and array elements. The document then lists and provides examples of the main types of operators in Java, including assignment, increment/decrement, arithmetic, bitwise, relational, logical, ternary, comma, and instanceof operators. It explains how each operator is used and provides simple code examples to illustrate their functionality.
OCA JAVA - 3 Programming with Java OperatorsFernando Gil
Ìý
OCA JAVA Training Material
Talking about Programming with Java Operators
- Understanding Fundamentals Operators
- Understanding Operator Precedence
ºÝºÝߣs based in the book: "OCA Java SE 7 Programmer I Study Guide (Examn 1Z0-803)"
The document discusses different types of operators in programming languages like C and C++. It explains that operators take operands as inputs and produce outputs. Common operators covered include arithmetic operators (+, -, *, /, %), unary operators (+, -), increment/decrement operators (++, --), relational operators (<, >, <=, >=, ==, !=), logical operators (&&, ||, !), and others. Examples are provided to demonstrate the usage of each operator. The key purpose of operators is to perform computations on operands through expressions.
this is my presentation on "Operators and Expressions" .this is my beginner days trial, so i cant make it perfect ,,,but surely say that it is most helpful for you
This document discusses operators in Java. It describes the different types of operators in Java including unary, arithmetic, shift, relational, bitwise, logical, ternary, and assignment operators. It provides examples of common operators like increment, decrement, left shift, relational, and assignment operators and explains how they are used to manipulate variables and values in Java.
This document discusses different types of JavaScript operators including arithmetic, comparison, logical, assignment, conditional, and bitwise operators. It provides examples and descriptions of common operators like addition, subtraction, equality, AND, OR, assignment, increment, decrement and more. The document was prepared by trainees of Baabtra as part of a mentoring program and provides contact details for Baabtra, a mentoring company based in Kerala, India.
The document summarizes the different types of operators in the C programming language. It describes arithmetic operators for mathematical calculations, assignment operators for assigning values to variables, relational operators for comparing values, logical operators for logical operations, bitwise operators for bit operations, conditional (ternary) operators for conditional expressions, and increment/decrement operators for increasing or decreasing variable values. Examples are provided for each type of operator to demonstrate their usage.
OCA Java SE 8 Exam Chapter 2 Operators & Statementsİbrahim Kürce
Ìý
Operators in Java include unary, binary, and ternary operators that perform operations on operands. Binary operators like arithmetic, relational, and logical operators follow an order of precedence unless overridden by parentheses. Statements in Java include if-then, if-then-else, switch, while, do-while, for, and more to control program flow. The if-then statement and if-then-else statement evaluate conditions and execute code blocks conditionally. The switch statement compares a value to multiple case labels and executes the corresponding code block.
QuickBooks Desktop to QuickBooks Online How to Make the MoveTechSoup
Ìý
If you use QuickBooks Desktop and are stressing about moving to QuickBooks Online, in this webinar, get your questions answered and learn tips and tricks to make the process easier for you.
Key Questions:
* When is the best time to make the shift to QuickBooks Online?
* Will my current version of QuickBooks Desktop stop working?
* I have a really old version of QuickBooks. What should I do?
* I run my payroll in QuickBooks Desktop now. How is that affected?
*Does it bring over all my historical data? Are there things that don't come over?
* What are the main differences between QuickBooks Desktop and QuickBooks Online?
* And more
How to Configure Flexible Working Schedule in Odoo 18 EmployeeCeline George
Ìý
In this slide, we’ll discuss on how to configure flexible working schedule in Odoo 18 Employee module. In Odoo 18, the Employee module offers powerful tools to configure and manage flexible working schedules tailored to your organization's needs.
APM event hosted by the South Wales and West of England Network (SWWE Network)
Speaker: Aalok Sonawala
The SWWE Regional Network were very pleased to welcome Aalok Sonawala, Head of PMO, National Programmes, Rider Levett Bucknall on 26 February, to BAWA for our first face to face event of 2025. Aalok is a member of APM’s Thames Valley Regional Network and also speaks to members of APM’s PMO Interest Network, which aims to facilitate collaboration and learning, offer unbiased advice and guidance.
Tonight, Aalok planned to discuss the importance of a PMO within project-based organisations, the different types of PMO and their key elements, PMO governance and centres of excellence.
PMO’s within an organisation can be centralised, hub and spoke with a central PMO with satellite PMOs globally, or embedded within projects. The appropriate structure will be determined by the specific business needs of the organisation. The PMO sits above PM delivery and the supply chain delivery teams.
For further information about the event please click here.
How to Modify Existing Web Pages in Odoo 18Celine George
Ìý
In this slide, we’ll discuss on how to modify existing web pages in Odoo 18. Web pages in Odoo 18 can also gather user data through user-friendly forms, encourage interaction through engaging features.
APM People Interest Network Conference 2025
-Autonomy, Teams and Tension: Projects under stress
-Tim Lyons
-The neurological levels of
team-working: Harmony and tensions
With a background in projects spanning more than 40 years, Tim Lyons specialised in the delivery of large, complex, multi-disciplinary programmes for clients including Crossrail, Network Rail, ExxonMobil, Siemens and in patent development. His first career was in broadcasting, where he designed and built commercial radio station studios in Manchester, Cardiff and Bristol, also working as a presenter and programme producer. Tim now writes and presents extensively on matters relating to the human and neurological aspects of projects, including communication, ethics and coaching. He holds a Master’s degree in NLP, is an NLP Master Practitioner and International Coach. He is the Deputy Lead for APM’s People Interest Network.
Session | The Neurological Levels of Team-working: Harmony and Tensions
Understanding how teams really work at conscious and unconscious levels is critical to a harmonious workplace. This session uncovers what those levels are, how to use them to detect and avoid tensions and how to smooth the management of change by checking you have considered all of them.
Database population in Odoo 18 - Odoo slidesCeline George
Ìý
In this slide, we’ll discuss the database population in Odoo 18. In Odoo, performance analysis of the source code is more important. Database population is one of the methods used to analyze the performance of our code.
Computer Network Unit IV - Lecture Notes - Network LayerMurugan146644
Ìý
Title:
Lecture Notes - Unit IV - The Network Layer
Description:
Welcome to the comprehensive guide on Computer Network concepts, tailored for final year B.Sc. Computer Science students affiliated with Alagappa University. This document covers fundamental principles and advanced topics in Computer Network. PDF content is prepared from the text book Computer Network by Andrew S. Tenanbaum
Key Topics Covered:
Main Topic : The Network Layer
Sub-Topic : Network Layer Design Issues (Store and forward packet switching , service provided to the transport layer, implementation of connection less service, implementation of connection oriented service, Comparision of virtual circuit and datagram subnet), Routing algorithms (Shortest path routing, Flooding , Distance Vector routing algorithm, Link state routing algorithm , hierarchical routing algorithm, broadcast routing, multicast routing algorithm)
Other Link :
1.Introduction to computer network - /slideshow/lecture-notes-introduction-to-computer-network/274183454
2. Physical Layer - /slideshow/lecture-notes-unit-ii-the-physical-layer/274747125
3. Data Link Layer Part 1 : /slideshow/lecture-notes-unit-iii-the-datalink-layer/275288798
Target Audience:
Final year B.Sc. Computer Science students at Alagappa University seeking a solid foundation in Computer Network principles for academic.
About the Author:
Dr. S. Murugan is Associate Professor at Alagappa Government Arts College, Karaikudi. With 23 years of teaching experience in the field of Computer Science, Dr. S. Murugan has a passion for simplifying complex concepts in Computer Network
Disclaimer:
This document is intended for educational purposes only. The content presented here reflects the author’s understanding in the field of Computer Network
Finals of Rass MELAI : a Music, Entertainment, Literature, Arts and Internet Culture Quiz organized by Conquiztadors, the Quiz society of Sri Venkateswara College under their annual quizzing fest El Dorado 2025.
Useful environment methods in Odoo 18 - Odoo ºÝºÝߣsCeline George
Ìý
In this slide we’ll discuss on the useful environment methods in Odoo 18. In Odoo 18, environment methods play a crucial role in simplifying model interactions and enhancing data processing within the ORM framework.
Prelims of Kaun TALHA : a Travel, Architecture, Lifestyle, Heritage and Activism quiz, organized by Conquiztadors, the Quiz society of Sri Venkateswara College under their annual quizzing fest El Dorado 2025.
How to Manage Putaway Rule in Odoo 17 InventoryCeline George
Ìý
Inventory management is a critical aspect of any business involved in manufacturing or selling products.
Odoo 17 offers a robust inventory management system that can handle complex operations and optimize warehouse efficiency.
How to Configure Restaurants in Odoo 17 Point of SaleCeline George
Ìý
Odoo, a versatile and integrated business management software, excels with its robust Point of Sale (POS) module. This guide delves into the intricacies of configuring restaurants in Odoo 17 POS, unlocking numerous possibilities for streamlined operations and enhanced customer experiences.
How to Setup WhatsApp in Odoo 17 - Odoo ºÝºÝߣsCeline George
Ìý
Integrate WhatsApp into Odoo using the WhatsApp Business API or third-party modules to enhance communication. This integration enables automated messaging and customer interaction management within Odoo 17.
How to Setup WhatsApp in Odoo 17 - Odoo ºÝºÝߣsCeline George
Ìý
Python Lec-6 Operatorguijjjjuugggggs.pptx
1. PYTHON- OPERATORS
CO1: Explain environment, data types, operators used in Python.
Mr. DEEPAK Kumar
Assistant Professor
GNA University
2. OPERATORS
• Operators are special symbols, combinations of symbols, or
keywords that designate some type of computation. You can
combine objects and operators to build expressions that
perform the actual computation.
• an operator is usually a symbol or combination of symbols
that allows you to perform a specific operation. This operation
can act on one or more operands.
• If the operation involves a single operand, then the operator
is unary. If the operator involves two operands, then the
operator is binary.
4. 1. Arithmetic Operators:
Arithmetic operators are used for performing
mathematical operations and are those operators that
allow you to perform arithmetic operations on numeric
values. OPERATORS SYMBOL MEANING
+ Addition
- Subtraction
* Multiplication
/ Division
% Remainder / Modulus
** Exponent
// Floor Division
5. Exponentiation is a mathematical operation that involves
raising a base number to the power of an exponent.
Exponentiation is done using the ** operator
Example:
23=2×2×2=8
result = 2 ** 3
print(result) # Output: 8
6. Floor Division
Floor division is a division operation that divides two numbers
and rounds down the result to the nearest integer.
floor division is done using the // operator
Example:
7÷2=3.57
Floor division: 7 // 2=3
result = 7 // 2
print(result) # Output: 3
7. 2. Assignment Operators :
The assignment operator is one of the most
frequently used operators in Python. The
operator consists of a single equal sign (=).
it operates on two operands.
The left-hand operand is typically a Variable,
while the right-hand operand is an expression.
number = 42
day = "Friday"
digits = (0, 1, 2, 3, 4, 5, 6, 7, 8, 9)
letters = ["a", "b", "c"]
8. 3. Relational or Comparison Operators:
Comparison operators are used to compare Numerical
values and return True or False.
The comparison operators are all binary. This means
that they require left and right operands. These
operators always return a Boolean value (True or False)
that depends on the truth value of the comparison at
hand. OPERATORS OPERATIONS SYNTAX
== Equal to X == Y
!= Not Equal to X != Y
< Less than X < Y
<= Less than or equal to X <= Y
> Greater than X >Y
>= Greater than or
equal to
X >= Y
9. 4. Logical Operators:
Logical operators are used to perform logical operations on
Boolean values. They allow you to combine or manipulate the
results of comparisons.
OPERATORS SYNTAX DESCRIPTION EXAMPLES
And X and Y This returns True
if both x and y are true
x = 10
x > 5 and x < 15
Or X or Y This returns True
if either x or y are true
x = 10
x > 5 or x < 15
not not X Reverses a result, so
if something is True ,
not turns it False
x = 10
not(x > 5 and x < 15)
10. 5. Bitwise Operators:
Bitwise operators perform bitwise operations on integers. The
integers are first converted into binary and then operations are
performed on each bit or corresponding pair of bits.
OPERATOR NAME DESCRIPTION SYNTAX
& Bitwise AND
Result bit 1,if both operand bits are
1;otherwise results bit 0. x & y
| Bitwise OR Result bit 1,if any of the operand bit is 1;
otherwise results bit 0. x | y
~ Bitwise NOT inverts individual bits ~x
^ Bitwise XOR
Results bit 1,if any of the operand bit is 1 but
not both, otherwise
results bit 0.
x ^ y
>> Bitwise right shift
The left operand’s value is moved toward
right by the number of bits
specified by the right operand.
x>>
<< Bitwise left shift
The left operand’s value is moved toward
left by the number of bits
specified by the right operand.
x<<
11. 6. Membership Operator :
Membership operators in Python are operators
used to test whether a value exists in a
sequence, such as a list, tuple, or string.
Membership operators are used to test if a
sequence is presented in an object
OPERATOR DESCRIPTION EXAMPLE
in Returns True if a
sequence with the
specified value is
present in the object
x in y
not in Returns True if a
sequence with the
specified value is not
present in the object
x not in y
12. 7. Identity Operator :
Identity operators in Python are used to
compare the memory locations of two objects.
There are two identity operators: is and is not.
These operators return True if the specified
objects have the same memory address, and
False otherwise.
13. IDENTITY OPERATORS
OPERATOR DESCRIPTION EXAMPLE
is Returns true if both
variables are the same
object
x is y
Return true
is not Returns true if both
variables are not the same
object
x is not y
Return false