Python3 元组Tuple Len 方法
Python3 元组Tuple Len 方法 #!/usr/bin/python3 tuple1, tuple2 = (123, 'xyz', 'zara'), (456, 'abc') print ("First tuple length : ", len(tuple1)) print ("Second tuple length : ", len(tuple2))
Python3 元组Tuple Len 方法
#!/usr/bin/python3 tuple1, tuple2 = (123, 'xyz', 'zara'), (456, 'abc') print ("First tuple length : ", len(tuple1)) print ("Second tuple length : ", len(tuple2))
交流与评论