标签: python-3.x tuples
假设我在python 3.7中编写以下代码
tup=('k','o') tup=('h','j')
但是当我按元素进行操作时:
tup[0]='g'
显示错误。为什么?