只需一步,快速开始
720
940
3116
管理员
listNode = [1,2,3,4,5] newList = list(reversed(listNode)) print(newList) #结果: #[5,4,3,2,1]
使用道具 举报
本版积分规则 发表回复 回帖后跳转到最后一页
|Archiver|手机版|小黑屋|21番茄网 ( 粤ICP备10099428号 ) 奇远富
GMT+8, 2025-2-23 00:45 , Processed in 0.119436 second(s), 32 queries .
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.