# 定义变量赋值
>>> name = "dzm"
# 查看变量值
>>> name
'dzm'
# 查看变量内存地址
>>> id(name)
4536893040
# 打印变量
>>> print(name)
dzm
# 修改变量值
>>> name = "xyq"
# 查看变量值
>>> name
'xyq'
# 查看变量内存地址
>>> id(name)
4538867248
# 删除变量
>>> del name
# 查看或输出变量则会报错
>>> name
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'name' is not defined
>>>