Takes a start and an end point, just going to bind local variable names start and end to those pieces.
有一个开始和结束点,就是去把局部的变量的名字,和这些点进行绑定。
I may want to finish the particular point that I'm making, I'll try to come back to you and I'll then raise your question.
也许我想结束这个我制造的特定点,我会试着回到这里并提出你的问题。
STUDENT: So are you entering a tuple in for start and end?
学生:那么你把开始点和结束点,访在一个元组里面输入么?
I want to end though on a positive note.
在课程结束前我想说点正面的知识。
There's a line segment, it's got a starting point and ending point.
做一个线段,需要一个,开始点和一个结束点。
It's got a start point, it's got an end point.
这需要一个开始点,和一个结束点。
And then from that start point, get the x-value. Same thing, from that instance, get the endpoint, from that end point get the x-value, square.
取得结束点,然后取得结束点的y坐标,然后求差开平方,然后同样求的y坐标。
Now, I prefaced this a few minutes ago about saying Professor Guttag wasn't going to like me.
结束点返回x坐标,然后把它们加起来。
So, for example, if I say TEST and I don't give it a start but I give it an end, then it gives me all the elements up to that point.
例如,我创建了TEST这个元组我没有给他,起始点却给了它一个结束点,然后程序会基于这一点放置所有的元素。
应用推荐