Python Operators

Operators are functions that perform some logical calculations. In other words, these are the constructs that manipulate the value of the operands. Python supports several kinds of operators. let us discuss one –by – one in detailed.Arithmetic operators :

Arithmetic operators are used for Addition, subtraction, multiplication and division and so on. Let us discuss them with an example.

Let us consider the operator with A =100 , B = 200

Operator

Description

Example

Addition(+)

Add values on either side of the operator

A+B =300

Subtraction(-)

Subtracts A from B

B-A =100

Multiplication(*)

Multiplies A with B

A*B = 2000

Division(/)

Divides the denominator with numerator

B/A =2

Modulo(%)

Performs the division operator and returns the remainder

B%A=0

Exponent(**)

Performs exponential calculation on operators

A**B= 100 power 200

Relational / comparison operator :

These operator compares the operands and displays the result.

Let us assume a = 3 , b =5

Operator

Description

Example

==

This operation returns true if two values are equal

A ==B returns False

!=

If the two operations are not equal this returns true

A!=B returns true

If the value of the left operand is greater than right this returns true

A>B returns false

<

This operator true if the left operand is less than the right operand

A< B returns true

>=

This operator returns true if the left operand is greater than or equal to the right operand

A>=B returns false

<=

This operator returns true if the left operand is less than or equal to the right operand

As we know, that Selenium with Python Web Browser Selenium Automation is Gaining Popularity Day by Day. So many Frameworks and Tools Have arisen to get Services to Developers.

Deep Learning Course

Artificial Intelligence, Deep mastering (DL) is completely about, many levels of Representation and sort of abstraction. That guide to design a sense of Information like Images, sound and text format.

Machine Learning with Python Training

Over last few years, Big Data and analysis have come up, with Exponential and modified Direction of Business. That operate Python, emerged with a fast and strong Contender for going with Predictive Analysis.

Data Science With R Training

Understanding and using Linear, non-linear regression Models and Classifying techniques for stats analysis. Hypothesis testing sample methods, to get business decisions.