This is what's actually going to create the instance, instantiate it, create what the set of variable values are for it.
这个声明在你,创建一个实例的时候,实例化这个实例,然后给这个实例。
And that's a wonderful thing to have because it gives you that modularity, that encapsulation that basically says, when I create a point, the only way I can get at the values, is by using one of the defined methods, in this case it could be Cartesian, Cartesian and get all the pieces of that.
这是很棒的一件事情,因为它让你有了,模块性以及封装性,这基本上也就是说,当我创建了一个点,我能够得到它的值的唯一的方式,就是用一个定义好的方法,在这个例子中也就是。
And America has to recognise that we're one nation playing our role and trying with other nations to create a world that stands for universal values or that lives up to universal values.
我们必须意识到,我们只是一个国家,做好我们的本分,试着和其他国家一道,建造一个拥有共同价值观的世界,或追求共同价值观的世界。
And so we saw that as well, the last piece we had here is the ability to create variables, which have their own values, and that's done using an assignment statement.
我们也可以看到,这里我们最后的是,创建了一些变量,这些变量都有自己的值,这是运用了赋值声明来完成的。
In order to create any kinds of expressions, we're going to need values. Primitive data elements.
因此下一节课,Python的一些简单介绍,我们需要值或者基础的数据类型l来创建。
应用推荐