Operators

Info:

Operators are symbols used to perform operatios on values and the variables that hold those valuses.

Check this web page for more info

Check the link below for more detailed list of operators and information about operators.

Operators-info

Basic operators:
Using operators with variables:
meaning = 42
meaning += 1

will give you this output.

43

As it means that it should do 42 + 1 and it will save that final value for the variable. So after this, if you do

meaning -= 1

Then the result will be:

42

As it will be doing 43-1 . We can use other operators like that too such as multiplication.

meaning *= 10

This means that it should multiply the value of meaning variable with 10 so the output will be:

420

And if i do:

name /= 7

Then the output will be:

60.0
Concatenate with operators:

You can use the operators to concetanate strings. For example

'Garo ' + 'Atmaca'

will output as:

Garo Atmaca