2022年7月5日
摘要: Q1:What is the expected output?(Python) b = [0,1,2,3,4,5,6,7,8,9] print(b[::3]) 列表的切片,3表示间隔3个,index+3,输出 b[0] b[3] b[6] b[9] = 0 3 6 9 实际运行结果 >>> b = 阅读全文
posted @ 2022-07-05 13:43 飞飞fly 阅读(149) 评论(0) 推荐(0)