Python Basic Tutorials

Python is a high level general purpose programming language which has a clear/easy learning curve. Python programming language is massively used in various domains like Artificial Intelligence, Data Science, Web Development, Utilities Tools and Scripts and many more

Python is a Programming language, and the default Python we use is written in C programming language which is also referred to as CPython (Python implementation in C). There are various implementation of Python Programming language i.e Jython(in JAVA), Skulpt(in JS) e.t.c

To make everything easy: We refer CPython as Python

Python Assignment Operator

Assignment operators are those operators which are used to assign operands to variables. For example, a=6 means simply the assignment of 6 to variable a.

There are various compound operators too in python. For example, a += 5 means the assignment of a+5 to the variable a.

Some Assignment operators and compound operators.

Operators Operations Similar To
= a=b a=b
+= a+=b a=a+b
-= a-=b a=a-b
*= a*=b a=a*b
//= a//=b a=a//b
/= a/=b a=a/b
|= a|=b a=a|b
^= a^=b a=a^b