摘要: 设串line为“qwertyuiop-003-cat.jpg 12” line.split(' ')[1][0]中的第一位[1]表示用‘ ’切片后的第二个串,[0]表示这个切片后的串列表的第一位 因此最后得到的答案为‘1’ 阅读全文
posted @ 2022-06-29 09:57 huyinghao 阅读(509) 评论(0) 推荐(0) 编辑