So let me just to try something a little more interesting, and then we'll get to writing some simple programs.
让我们来试试更加有趣的,一些事情吧,然后,我们再去写一些简单的小程序。
You know, I got a couple in South Beach in Puerto Rico... but most of them are great here.
在波多黎各的南海滩也发生过一些有趣的事情……但大多数的趣事还是发生在这里。
This is boring. In fact, you can do some nice things to prove what is the class of functions you can compute with straight-line programs, and what you'd see if you did that is, it's not particularly interesting.
这很无聊,实际上,你可以通过做一些很有趣的事情,来证明你可以通过直线程序,来做很多功能,但是你也看到我们之前讲过的了,这不太有趣。
You are going to read, you are going to learn, you are going to come to lecture, I am going to hit some high points, things that I find particularly interesting, but it is not sort of well, he said we are going to read this but then he didn't talk about it in class.
你们要去阅读,要学学习,你们要来上课,我要讲些重点,是一些我发现的很有趣的事情,但是不是你们想的那种,他叫我们读这里,但是他并没有在课堂上谈论这。
So, some jargon first.
来做一些有趣的事情。
I don't think they were having very good success, but they did notice something interesting which is that the rat kept returning to the corner of the cage in which it was stimulated the day before So Olds got an interesting idea, he said, what if we let the rats stimulate in its own brain, what would happen.
他们的试验并不是非常成功,但他们确实是注意到了一些有趣的事情,老鼠总是会回到,昨天接受刺激的那个箱子的角落,因此奥兹产生了一个有趣的想法,他想,如果我们让老鼠在自己的脑中对自己进行刺激会,发生什么事情。
In any event, this is some interesting research opportunity, so again, no obligation, you don't have to do this, I won't even know if you are or not, but I just thought I would present these in the case you might find them interesting things to do.
不管怎样,这都是些不错的研究机会,不过不是强制的,我甚至都不知道你们参加与否,不过我还是会把这些放在这里,这样大家可能会找到一些有趣的事情去做
We can put a list in the list again, as we've seen before. So let's put the list containing the string a, and I'll print out so now we see something pretty interesting about a list, that we can mix up all sorts of things in it, and that's OK.
数组放到数组中去,让我们把这个包含,字符串a的数组放进去,然后再显示,我们看到了一些,挺有趣的事情:我们可以把各种,各类的东西混合着放进去,没问题。
应用推荐