题解 | #增加元组的长度#
增加元组的长度
https://www.nowcoder.com/practice/31d26c9dbe454cf9a60c72c72ca958df
tuple1 = (1,2,3,4,5) tuple2 = (6,7,8,9,10) print(tuple1) print(len(tuple1)) print(tuple1+tuple2) print(len(tuple1+tuple2))
增加元组的长度
https://www.nowcoder.com/practice/31d26c9dbe454cf9a60c72c72ca958df
tuple1 = (1,2,3,4,5) tuple2 = (6,7,8,9,10) print(tuple1) print(len(tuple1)) print(tuple1+tuple2) print(len(tuple1+tuple2))
相关推荐