中国高校课件下载中心 》 教学资源 》 大学文库

南京大学:《计算机程序的构造和解释 Structure and Interpretation of Computer Programs》课程教学资源(PPT课件讲稿)08-Containers

文档信息
资源类别:文库
文档格式:PDF
文档页数:87
文件大小:170.13KB
团购合买:点击进入团购
内容简介
南京大学:《计算机程序的构造和解释 Structure and Interpretation of Computer Programs》课程教学资源(PPT课件讲稿)08-Containers
刷新页面文档预览

CS 61A Lecture 10

CS 61A Lecture 10

Announcements

Announcements

Lists ['Demo']

Lists ['Demo']

Working with Lists

Working with Lists 4

Working with Lists >>digits=[1,8,2,8] n

Working with Lists >>> digits = [1, 8, 2, 8] 4

Working with Lists >>digits=[1,8,2,8] >>dig1ts=[2//2,2+2+2+2,2,2*2*2] n

Working with Lists >>> digits = [1, 8, 2, 8] 4 >>> digits = [2//2, 2+2+2+2, 2, 2*2*2]

Working with Lists >digits=[1,8,2,8] >>dig1ts=[2//2,2+2+2+2,2,2*2*2] The number of elements

Working with Lists >>> digits = [1, 8, 2, 8] 4 The number of elements >>> digits = [2//2, 2+2+2+2, 2, 2*2*2]

Working with Lists >>digits=[1,8,2,8] >>dig1ts=[2//2,2+2+2+2,2,2*2*2] The number of elements >>>len(digits)

Working with Lists >>> digits = [1, 8, 2, 8] 4 The number of elements >>> len(digits) 4 >>> digits = [2//2, 2+2+2+2, 2, 2*2*2]

Working with Lists >digits=[1,8,2,8] >>dig1ts=[2//2,2+2+2+2,2,2*2*2] The number of elements >>>len(digits) 4 An element selected by its index

Working with Lists >>> digits = [1, 8, 2, 8] 4 The number of elements >>> len(digits) 4 An element selected by its index >>> digits = [2//2, 2+2+2+2, 2, 2*2*2]

Working with Lists >>digits=[1,8,2,8] >>dig1ts=[2//2,2+2+2+2,2,2*2*2] The number of elements >>>len(digits) An element selected by its index >>digits[3] 8

Working with Lists >>> digits = [1, 8, 2, 8] 4 The number of elements >>> len(digits) 4 An element selected by its index >>> digits[3] 8 >>> digits = [2//2, 2+2+2+2, 2, 2*2*2]

刷新页面下载完整文档
VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
相关文档