# -*- coding:utf-8 -*-
"""
@author:luomi
@file: 赋值运算符.py
@date: 2021/01/09 11:33
"""
"""赋值运算符
=
+=
-= 
 """

"累加:在原来的基础上逐步增加 运算符:salary"
# 例如工资累加
salary = 10000
salary = salary + 10000
#salary = 20000
#salary += 10000  # salary简写

salary = salary + 10000
print(salary)

#累减赋值
#salary = salary - 5000
salary -= 5000
print(salary)









