assert One of the most important things we do is we use assert statements so that we catch problems early.
要学会利用,声明来早点发现问题。
In week zero, when we tore the phonebook in half and half and half we were recursing through that problem.
当我们将电话簿划分为一半又一半的时候,其实就是利用递归在解决问题。
Faced with that question, he had to ask himself, ?" "Well, what should I do with my remaining years?"
面对这样一个问题,他不得不问自己,“我要如何利用剩余的这几年呢“
Not in the next problems set but in the problem set after that, we'll be exploiting that facility of dictionaries. All right.
好,下一个问题是,我们如何来利用,字典的便利性,好。
With each lecture we put together pre-lecture questions and post-lecture questions that the students were required to answer and they used their learning space that I told you before: Sunspace.
每次讲座我们都会给出,课前问题和课后问题,并要求学生回答,他们利用我之前谈到的,学习空间,即阳光地带。
So, we are now going to do one standard problem where we will convince ourselves we can apply this formulas and predict the future given the present.
我们接下来将去研究一个标准问题,通过这个问题,我们能让自己相信,我们能利用这些式子,根据现状,预测未来
What he concluded was, these pigeons were trying to figure out what makes those pieces of corn come and they started to think well,they had to get the interval between corns right to make this work.
他总结出这些鸽子都在绞尽脑汁,想知道玉米从那来的,它们只能利用,那15秒的间隔去想清楚这个问题
When you do something complicated you save the answers and then you go get it later.
当你计算一些复杂问题时,你保存答案,然后再次查询利用。
Where is the ingenuity there and how can we leverage that in our own problem solving?
那么其独创性在哪里?,我们在解决实际问题时该怎么去利用它?
It's about using it to think.
需要学怎么样利用它去思考问题。
If we want to get anyplace on the question about the nature of the good life, what we need to focus on is not the instrumental goods and bads, but rather the intrinsic goods and bads.
如果我们想在,何为“好的人生的本质“问题上得出结论,我们需要专注的不是利用价值的好与坏,而是固有价值的好与坏。
Still, in trying to get clear about the nature of wellbeing, the crucial thing to do is to focus not on the question about instrumental value, but rather to focus on the question of intrinsic value.
想搞清楚幸福的本质,至关重要的不是专注于,利用价值的问题,而是应专注于固有价值的问题。
You're not going to start for the rest of your life if you ever need to solve a problem with a computer from scratch, odds are you're going to reach for some off the shelf packages or libraries or tools that other people wrote so that people like us don't have to reinvent the wheel again and again.
如果你想用Scratch来解决问题,却使用其他人写的程序,或者利用现成的资料或工具,这样以来,我们的确可以避免做重复性的工作,但却永远学不会编程。
应用推荐