Thing I've got a little procedure that could do that, but you know the simplest thing I could do is to say well, gee, wait a minute, why don't I just check to see if these are the same thing?
这两个点是同一个点么?,我已经写了一小块代码,可以提供这个功能,但是你知道的我可以做的,最简单的事情就是说好,嗯?,等等,我为什么不直接去看看,这两个东西相等不相等呢?
Why don't you take some time to write your feelings down?
你为什么不花点时间把你的感受写下来呢?
So the next little piece of code I've written here, just move down to it slightly.
好,我可能想做的一件事情是,这两个点是不是同一个点呢?,因此我在下面写的。
Let's go into the third version of this and then start doing something with these constructs.
让我们进入这个程序的第三版,开始用这些概念来写点东西。
Well, the men, male students, who cross the rickety bridge, they wrote these sexy stories with interesting content, with kind of little bit ribald themes.
过摇晃桥的男学生,写的故事很性感,很有爱,还有点淫秽的主题。
So if you haven't clicked in yet, or if you want to change your answer, keep in mind that you might need to jot down, - for example, a Lewis structure before you can answer this question.
如果你还没有点答案,或者你想改变你的答案,记住你也许需要在回答问题前写点东西,比如画一画Lewis结构,来得到最终。
I take a moment to do some writing.
我会写点东西。
Sometimes students think that if they write something and they say anything, they'll get an A.
有的学生会认为只要他们随便写点什么,
说点什么,就能拿到A。
So this first little piece of code right here says, ok you give me 2 points, I'll create another 1 of these lists and I'll simply take the x, sorry I shouldn't say x, I'm going to assume it's the x, the x-values are the two points, add them together, just right there, the y-values, add them together and return that list.
好,为了来认识到这一点,让我们来看一个简单的小例子,在你们的课堂手册上,你可以看到我写了一个小程序,它假设我得到了,这些点中的一些,我想对它们做一些操作,例如我想把它们加到一起,那么这里的第一小片,代码的意思是,好给我两个点,我会再创建一个数组。
Deep equality, we get to define, that's what I did by writing same point.
我们需要自己定义,也就是我写比较是不是,同一个点的那个程序。
All right, so let's actually write something a little more interesting than "hello world."
好的,让我们来写点比“hello,world“,更有意思点的程序吧“
We can start having complex expressions, you can imagine we can have things are lots of parens, and all sorts of things in it. Yes, question.
我们可以开始写复杂点的表达式了,你可以想象,我们有一个很多括号的表达式,里面有各种各样的东西,什么问题。
应用推荐