Assignment operator

The 
'='
 
operator 
is 
known 
as 
assignment 
operator, 
also 
read 
as 
'is 
set 
to'
.

Assignment statement

A 
line 
of 
the 
program 
that 
assigns 
a 
value 
to 
a 
variable.
variable = value
# the value is stored in the variable
count = 5
print(count)
5

Math vs Python "="

In 
mathematics, 
=
 
means 
to 
equate 
the 
left 
side 
with 
the 
right 
side.
In 
python, 
=
 
symbol 
is 
used 
to 
set 
the 
value
 
of 
the 
left 
side 
variable 
to 
the 
right 
side 
variable.
variable = value
# the value is stored in the variable
variable = variable + value
# value is added to existing variable value and stored in the variable
count = 5
count = count + 2
# new value of count is set to old value of count + 2
print(count)
7