So, now, here's just a list for you: eight features of literary modernism that are all important to Nabokov.
现在我给大家一张列表,上面列举了八项对纳博科夫非常重要的文学现代主义的特征。
And I want to show you a little bit more detail of that, so let's create a simple little list here.
我还想给你们再讲详细些,那让我们来创建一个简单的列表吧。
Here's a list of ingredients from Skippy Peanut Butter and you see that sugar is the second most common ingredient.
这有一份四季宝花生酱的配料表,你可以看到糖是含量第二多的原料
It turns out that there's lots of proteins that have value as therapeutics and there's a list of them here and some of them you'll recognize.
我们已经发现很多有药用价值的蛋白质,这里有一张相关列表,其中一些你能认出来
So here's a program called Arg V, this is fancy speak for argument Vector, a list of arguments for the left or right.
这里有一个叫做ArgV的程序,这个设想讲述了,参数矢量,从左到右的一列参数。
First, it's pointing to the beginning of the list, which initially might be down here at but after a while, might be part way through. And to that, I simply add a halfway point, and then I check.
列表中间的一个部分了,然后我求出列表的中值点,然后看看该点的值是不是等于目标值,如果是的话就完成了,如果不是的话,如果中位值大于我要找的目标值。
So now here's the idea. I build a list 256 elements long, and I fill it up with those special characters none.
所以这里就是这种思想6,我创建了一个可以放下256个元素的列表,然后我以这些没有实际意义的字符将其填充。
There's a partial list that's shown here, starting the top of the list with smallpox, and that's what we're going to spend most of the time talking about today.
这是列表的一部分,表上第一个是天花疫苗,今天我们要用大部分时间讨论它
Let's start with the first, with A on this list here.
让我们首先从第一个问题开始
LS And what very often happens if you do an LS in your account, to list your files, there's a whole lot of stuff in here at the moment -- and I don't have it here - but what you'll often see -- I'll just fake this demo -- is a file called core.
经常发生的是,如果你用你的账号做一个,来列出你的文件,此刻这里有一大堆元素,-它不在这里,但你们将经常看到--我将篡改这个演示-,是一个叫做core的文件。
b OK. In this example I'd use b. All right, as b get-- b is the thing that's changing as I go along here, but it could be things like, how many elements are there in a list if the input is a list, could be how many digits are there in a string if the input's a string, it could be the size of the integer as we go along. All right.?
好,在这个例子里我会用,因为b是一直在变的东西,但是也可能是如下情况:,如果输入是数组的话,变化的就是数组的元素数,如果输入是字符串的话,变化的就是字符串的长度,如果是integer的话,可能就是这个数的大小,对不对?
应用推荐