题解 | #增加元组的长度#

增加元组的长度

https://www.nowcoder.com/practice/31d26c9dbe454cf9a60c72c72ca958df

import sys

list1 = tuple(range(1,6))
list2 = tuple(range(6,11))
list3 = list1+list2
print(list1,len(list1),list3,len(list3),sep='\n')

#python刷题#
Python刷题 文章被收录于专栏

Python刷题记录

全部评论

相关推荐

被加薪的哈里很优秀:应该继续招人,不会给你留岗位的
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务