PyCodePro

Previously LP16 - A website that teaches Python programming language through interactive tutorials, practice exercises, and real-world projects.

OPERATORS

Operators



They are the tokens that trigger some computation when applied to a variable and other objects in an expression.


Unary operators


The following are some unary operators –

+ Unary Plus
(-) Unary Minus
~ Bitwise Complement
not Logical Negation


Binary operators


The following are some binary operators –


Arithmetic operators


+   Addition
(-) Subtraction
*  Multiplication
/ division
% Remainder/Modulus
** Exponent (raise to power)
// Floor Division



Bitwise operators


& Bitwise AND
^ Bitwise exclusive OR (XOR)
I Bitwise OR


Shift operators


<< Shift Left
>> Shift Right


Identity operators


is – is the identity same?
is not – is the identity not same?


Relational operators


<  Less Than
(>) Greater Than
<= Less Than or equal to
>= greater than or equal to
== equal to
!= Not Equal To


Assignment operators


= Assignment
/= Assign Quotient
+= Assign Sum
*= Assign Product
%= Assign Remainder
-= Assign Difference
**= Assign Exponent
//= Assign Floor Division


Logical operators


and Logical And
or Logical OR



Membership operators


in whether variable in sequence
not in whether variable not in sequence



python character set


Letter       A-Z, a-z
Digits       0-9
Special Symbol – space + - * / ** \ ( ) [ ] { } // = != == < , > .  @ _(underscore)


ISCII – Indian Standard Code For Information Interchange

All Gist Products Are Based in ISCII.


ISCII has been used by IBM for PC-DOS,Apple For ILK and more by the other several companies.
OPERATORS OPERATORS Reviewed by Learn Python on November 01, 2019 Rating: 5

No comments:

Powered by Blogger.