Python 访问元组值 Python 删除列表实例 Python 更新元组值 Python 访问元组值 #!/usr/bin/python tup1 = ('physics', 'chemistry', 1997, 2000); tup2 = (1, 2, 3, 4, 5, 6, 7 ); print "tup1[0]: ", tup1[0]; print "tup2[1:5]: ", tup2[1:5]; Python 删除列表实例 Python 更新元组值