Python Assigning values to tuples Python 列表List sort() 方法 Python Updating tuples Python Assigning values to tuples #!/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 列表List sort() 方法 Python Updating tuples