Python 更新元组值 Python 访问元组值 Python 删除元组值 Python 更新元组值 #!/usr/bin/python tup1 = (12, 34.56); tup2 = ('abc', 'xyz'); # Following action is not valid for tuples # tup1[0] = 100; # So let's create a new tuple as follows tup3 = tup1 + tup2; print tup3; Python 访问元组值 Python 删除元组值