Python3 元组Tuple CMP 方法 Python3 删除元组 Python3 元组Tuple Len 方法 Python3 元组Tuple CMP 方法 #!/usr/bin/python3 tuple1, tuple2 = (123, 'xyz'), (456, 'abc') print cmp(tuple1, tuple2) print cmp(tuple2, tuple1) tuple3 = tuple2 + (786,); print cmp(tuple2, tuple3) Python3 删除元组 Python3 元组Tuple Len 方法