题解 | 增加元组的长度
增加元组的长度
https://www.nowcoder.com/practice/31d26c9dbe454cf9a60c72c72ca958df
import sys tuple1 = (1,2,3,4,5) print(tuple1,len(tuple1),sep='\n') tuple2 = (6,7,8,9,10) tuple3 = tuple1 + tuple2 print(tuple3,len(tuple3),sep='\n')
增加元组的长度
https://www.nowcoder.com/practice/31d26c9dbe454cf9a60c72c72ca958df
import sys tuple1 = (1,2,3,4,5) print(tuple1,len(tuple1),sep='\n') tuple2 = (6,7,8,9,10) tuple3 = tuple1 + tuple2 print(tuple3,len(tuple3),sep='\n')
相关推荐
何时能不做牛马:简历每个点之间的间距可以缩一下。几乎没遇到过要演示项目的情况,即使万一遇上了你也可以说部署在其他电脑上本地没代码。nku不应该简历挂吧?抓紧背背八股练练表达,不要放弃,五六月份找到也不晚(不然还得提前入职