What I have now is the following: I can write expressions, do combinations of things to get out values, I can store them away, I can print them up.
我已经讲过如下内容:,如何写表达式,如果把东西混合然后得到结果值,我可以将其保存,也可以将其显示。
I've got another little thing here that I'm going to use a little later on that just prints out values of things.
给我p2的x值,对它们进行比较,就像我们通常会做的那样。
What comes out of the math is that the value of k, there are multiple values, there are multiple solutions.
得到的数学结果是k的值,这有多种值,多种解法。
Which is why I think we need a bipartisan foreign policy based on our values that reaches out to the rest of the world.
这是为什么,我认为我们需要一个建立在价值观基础之上,两党连立的外交政策,我们依此和全世界打交道。
You could try to figure out how to mesh your scientific view of the mind with these humanist values you might want to preserve.
你可以去试试,看如何将科学心理观,与你所想坚持的人文观念相契合
And an interesting piece of data is that the students reported that one of the primary values that they got out of the course was the opportunity to get to know people throughout the company that it would take them years to get to know on their own.
一个有趣的现象是,学生们报告称,该课程带给他们,最大的收获之一就是,借此机会认识了,全公司的人,而今后,他们会继续加深了解。
And thankfully with 64-bit values can we do so, but sure enough will we run out of space, even with those types of types.
幸亏有64位的数值,我们才能做到如此,但是我们的空间真的会用完,即使有这样的数据类型。
I then insist, okay, swap, and then I print out their values again.
我再强调,好的,交换好了,然后我再打印出,它们的值。
It's part of what I want, because I'm going to bind those values out.
这是我想做的一部分,因为我想将这些值进行绑定。
So, fairly simple idea, who knows why we actually care what the values of X or Y are at least in this out of context.
看,非常简单吧,天晓得为啥我们关心x和y的值,在这里我们只是断章取义罢了。
Inside of swap itself, I'm printing out the values, if temporarily.
在swap函数里,我打印出,它们的值,如果临时的。
If somewhere later on in the code it shifts to string, I might not be manipulating that and getting actual values out, but not what I wanted, and it's going to be really hard for me to chase it back.
然后后面的一些代码,把变量类型变为了字符串,我可能不会通过实际操作,去取得实际的变量的类型,但是这并不是我想要的类型,而且对我来说把类型,变回去也很困难。
If I had had a clean interface, that I had a specific method to get those values out, I wouldn't have to change anything.
如果之前我创建了,一个清楚的借口,也就是我有特定的,取得这些值的方法的话。
I think the easiest way to look at what this does, is let's take a really simple example- I want to make sure I put the right things out- I've got a simple little list of values there.
到底做了什么,就是让它跑一个简单的例子,我想要确信我找到了正确的元素-,这里我用一个简单的小的列表-,如果我去代码里面看。
If I want to get values back out, p I could in fact simply send to that instance a message, in this case I could say p dot x.
我就是,我刚刚在这里输入的,我得到了一个c,point的实例,如果我想把值取出来,实际上我可以。
So, operands. Let us take expressions, get values out, we can store them away in places, but ultimately we want to do something with them, so we need to now start talking about what are the things we can do inside of Python, or any programming language, to manipulate them.
也就是运算对象,让我们看看这些表达式,然后看看里面的这些值,我们可以把他们存在计算机的任何位置中,最终目的还是要对这些值做一些操作,因此我们现在需要开始讨论,在Python里面可以做什么,来操作它们了,或者在任何编程语言里。
应用推荐