Scratch So, we looked last week at Scratch, very briefly, but hopefully you found if you've dived in already that the interface is fairly intuitive and it really just allows you to implement ideas that you conjure up in your mind.
我们上周非常简略地提到了,不过我希望你们热切的投入了进去了,那个界面是相当直观的,相信我,这真的可以让你实现你,大脑中的构想。
And the reason I want to show you this is to notice that the recursion can be doubled.
如果我来写斐波那契数列你可以看看这儿,原因是我想让你看看这部分的递归可以翻倍。
That'll catch a lot of just silly mistakes for you if you go back and see it and you don't have all of that.
这可以让你抓到很多低级错误,如果你回去发现它们不一样的话。
And it's actually critically important to get used to things because it's a useful adaptive mechanism to keep track on new events and objects.
而习惯化实际上也是至关重要的,因为这是一种非常有用的适应机制,可以让你注意到新鲜事物。
It was one thing for the Lady to imagine -- you know, crazy as it was, for the Lady to imagine -- a rescue squad of angels to zip to her aid at the first hint of a physical assault.
这是一件令小姐想象的事,你可以看出,让小姐去想象很疯狂,一个天使救援队会在她做出第一个被侵犯暗示的时候去救她。
Now, normally that's a good thing because if you're out in the world and you get infected with adenoviruses you recover from it, your immune system can get rid of it.
通常情况下这是好事,这可以让暴露在户外的你,免于腺病毒的侵害,你的免疫系统可以清除病毒
So, now that you're fully immersed in CS50 it's quite understandable 0 if you want people to know that you're in CS50 and so the teaching fellas have been hard at work putting together this year's line of apparel which includes sweatshirts, CS50 T-shirts and the like.
现在你已经完全沉浸,于CS50的学习,这完全可以理解,你很想让大家知道你在CS50学习0,我们的助教们已经,将今年的服饰收集在了一起,其中包括运动衫,CS50,T恤等等。
So you can imagine that this is a very powerful mechanism. So let's look what happens when I run-- start to run this.
因此你可以想到这是一种很强大的机制,让我们看看让我开始运行,这个程序的时候会有什么结果。
These won't be graded, you don't have to turn them in, it's just to give you some extra practice if you want while you're studying for the exam.
这些题目不会记分,你们也不需要交上来,只是如果你需要的话,这可以让你,在准备考试的过程中得到更多的训练。
Surrounded--Surrounding--To complete a mechanical metaphor that would have led Descartes to despair-- Thank you, Koleen.
这也是个可以让笛卡尔绝望的,机械性隐喻,谢谢你,柯琳
And I can obviously do the other direction which is I can say skip to index 2 and all the remaining pieces. This lets me slice out, if you like, the front part or back part or a middle part of the tuple as I go along.
很明显我可以从索引2开始切片,所有剩下的元素,这可以让我2,如果你喜欢我这么说的话,取得元素的前面的或者后面的,或者中间的部分。
应用推荐