![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MIT6.00 1X
ReedSun
Be the change you want to see in the world
展开
-
MIT 6.00 1X Lecture 7 Debugging 学习笔记
l MIT6.00 1x (麻省理工:计算机科学和Python编程导论)Lecture 7 Debugging 调试7.1 TESTING AND DEBUGGING 测试和调试Testing and Debugging 测试和调试• Would be great if our code always workedproperly the first $me we run it!原创 2016-09-14 10:15:52 · 1482 阅读 · 0 评论 -
MIT6.00 1x Lecture 2 - Core elements of programs 学习笔记
Lecture 2 - Core elements of programs 编程基础2.1 Type of programming languages 编程语言的类别• Goal: 目标(将我们想要的转化为计算机理解的)– Need a way to describe algorithmic stepssuch that computer can use them to execute原创 2016-08-26 22:36:48 · 1149 阅读 · 0 评论 -
MIT 6.00 1x Lecture 3 - Simple Algorithms 简单算法 学习笔记
l MIT6.00 1x (麻省理工:计算机科学和Python编程导论)Lecture 3 - Simple Algorithms 简单算法3.1 iteration 迭代Iteration 迭代• Need one more concept to be able to writeprograms of arbitrary complexity 需要、更多的概念,能够写任意复杂的程原创 2016-09-01 21:09:06 · 1484 阅读 · 0 评论 -
MIT 6.00 1x Lecture 4 - Functions 学习笔记
l MIT6.00 1x (麻省理工:计算机科学和Python编程导论)Lecture 4 - Functions 函数4.1 CREATING FUNCTIONS 创建函数Functions 函数• So far, have seen numbers, assignments,input/ output, comparisons, looping constructs 我们已原创 2016-09-02 21:07:11 · 762 阅读 · 0 评论 -
MIT 6.00 1x Lecture 6 Objects 对象 学习笔记
l MIT6.00 1x (麻省理工:计算机科学和Python编程导论)Lecture 6 Objects 对象6.1 Tuples 元组Compound data types 复合数据类型 • Have seen a sampling of different classesof algorithms 已经见识过了不同类别的算法思想– Exhaustive enume原创 2016-09-07 20:51:51 · 1130 阅读 · 0 评论 -
Python 字典(Dictionary) values()方与 keys()方法
本文转自 http://www.runoob.com/python/att-dictionary-values.html http://www.runoob.com/python/att-dictionary-keys.html侵删Python 字典(Dictionary) values()方法描述Pyth转载 2016-09-06 20:16:07 · 7167 阅读 · 0 评论 -
Python List pop()方法
本文转载自http://www.runoob.com/python/att-list-pop.html侵删描述pop() 函数用于移除列表中的一个元素(默认最后一个元素),并且返回该元素的值。语法pop()方法语法:list.pop(obj=list[-1])参数obj -- 可选参数,要移除列表元素的对象。返回值转载 2016-09-06 11:23:26 · 1422 阅读 · 0 评论 -
python中的sort方法使用详解
本文转载自 http://www.jb51.net/article/52730.htm侵删Python中的sort()方法用于数组排序,本文以实例形式对此加以详细说明:一、基本形式列表有自己的sort方法,其对列表进行原址排序,既然是原址排序,那显然元组不可能拥有这种方法,因为元组是不可修改的。?123x =[4,转载 2016-09-06 08:23:19 · 4033 阅读 · 0 评论 -
MIT 6.00 1x Lecture 5 Recursion 递归 学习笔记
l MIT6.00 1x (麻省理工:计算机科学和Python编程导论)Lecture5 Recursion 递归5.1 ITERATIVE ALGORITHMS 迭代算法Iterative algorithms 迭代算法• Looping constructs (e.g. while or forloops) lead naturally to iterativealgorith原创 2016-09-05 21:32:52 · 1327 阅读 · 0 评论 -
MIT6.00 1x Lecture 1 - Introduction to Computation 学习笔记
l MIT6.00 1x (麻省理工:计算机科学和Python编程导论)Lecture 1 - Introduction to Computation (计算科学简介)1.1 Basics of computation(计算科学基础)Goal:(本课程的目标)– Become skillful at making a computer do whatyou want it to d原创 2016-08-24 21:31:52 · 3641 阅读 · 1 评论