But imagine I actually wanted to gather them together. I wanted to collect them, so I could do something with them.
把那些除数都显示出来,这很有用,但是请想想下我想要,把它们放在一块。
and display it on your screen, sort of how it works.
然后在你的屏幕上显示出来,大概就是这样的。
It looks like we're cut off the screen a little bit here, but you can see I've just circled it there.
看起来我们屏幕的边缘部分有些没显示,但是大家可以看到我刚才把它圈出来了。
Now this is actually a poor way to do it, because you might say, well, it's just the list.
它以这种形式显示出来了,现在这实际上是一种很差劲的方法,因为你可能会说,好吧。
Oh, there's a man at the store and now we have a loop where he is just looking through my inventory one at a time and reciting what it is I actually picked up.
商店里有一个人,现在我们有一个循环,通过这个循环他可以看到我的库存,然后显示出来我实际上都采摘了哪些水果。
You can't see this too well but there's a map of the world here that actually shows you all the individual cases of polio that occurred between this period of August 2007 and, it's cut off on the screen, February of 2008.
你可能看不清这个幻灯片,但是这里有一副世界地图,上面准确的展现了在二零零七年八月到,在屏幕上没有显示出来,是到二零零八年二月之间发生的,所有小儿麻痹症的个案
There just aren't pricing anomalies that are significant that are going to resolve themselves in a matter of months or weeks and so it's a silly game to play.
显著失常的定价,不会在短短几月或几周内,就在市场中显示出来,因此类似月进月出那些是一种愚蠢的行为
If you're looking for a piece of software Baidu Hai -it's an instant messenger software we delivered-- we will show that to you.
如果你要找百度Hi这个软件,这是一种,即时通讯软件,搜索页面会显示出来。
I'm going to print it and let's see what it prints.
我要将其打出来,我想显示下数组的内容。
Then the next thing in the loop, we're going to enter a nested loop and say for every college in the list e, we're going to print the name of the college.
循环中的第二件事,是进入一个嵌套循环,这个嵌套循环将数组中的,大学名字显示出来。
So, nitrogen is shown here, we know that because it has 7 electrons.
那么这里显示的是氮,我们能看出来是因为它有七个电子。
And then prints it back out.
然后显示出来。
And say let's just print them both.
那么就让我们把这两个值都显示出来。
So if I print e to f of soccer, it will print the string football.
如果我要显示soccer的e到f变换的话,打印出来的就是football了。
Which is, and we're going to do some examples of this, initially we just typed in expressions Python into the interpreter; that is,directly into Python And as I suggested last time, the interpreter is actually a program inside of the machine that is basically following the rules we're describing here to deduce the value and print it up.
也就是,我们将会对这一点讲解一些例子,一开始我们只是简单的把表达式输入,到解释器里面去,也就是直接传给,我上次跟大家讲过,解释器实际上是,机器内置的,按照我们描述的规则,来推算出结果值并把值显示出来的一个东西。
应用推荐