python operators
.
????
+=
Add AND assignment operator, It adds right operand to the left operand and assign the result to left operand
<>
Checks if the value of two operands are equal or not, if values are not equal then condition becomes true.
!=
Checks if the value of two operators are equal or not, if values are not equal then condition becomes true.
==
Checks if the value of two operators are equal or not, if yes then condition becomes true.
/
Divide
/=
Divide AND assignment operator, It divides left operand with the right operand and assign the result to left operand
%
Division
**=
Exponent AND assignment operator, Performs exponential (power) calculation on operators and assign value to the left operand
//=
Floor Dividion and assigns a value, Performs floor division on operators and assign value to the left operand
:
It is used to declare the start of an indented block. It can also allow one-liners if you continue after the colon.
%=
Modulus AND assignment operator, It takes modulus using two operands and assign the result to left operand
*
Multiplication
*=
Multiply AND assignment operator, It multiplies right operand with the left operand and assign the result to left operand
;
Semicolons in Python are totally optional (unless you want to have multiple statements in a single line, of course)
=
Simple assignment operator, Assigns values from right side operands to left side operand
-=
Subtract AND assignment operator, It subtracts right operand from the left operand and assign the result to left operand
-
Subtraction
//
The division of operands where the result is the quotient in which the digits after the decimal point are removed.
,
When printing, a comma is used to separate each item in a list of parameters you'd like to print. Usually, this is reflected in the output as a space.
+
addition
[ ]
creates a list, this list can be modifies unlike tuples.
{ }
curly brackets are used to define a dictionary. A dictionary is a data structure that maps one value to another - kind of how a English dictionary maps a word to its definition.
**
exponent. Performs exponential (power) calculation on operators
>
greater than
>=
greater than or equal too
@
is a python... i have no idea yet...
()
is a set of tuples, tuples cannot be changed and can be seen as a list of arguments or variables.
<
less than
<=
less than or equal too