It's really the multiplication and in this case, division that the problem arises. Yeah?
这里实际上是乘法和,除法引起了那个问题,请说?
But what I do? I just separated, do I do the addition first or do the multiplication first?
那么我该怎么办?我就是要做一个分割,应该先做加法呢,是先做乘法呢?
One of the first principles of probability theory is called the multiplication rule.
概率论的最基本的原则,有一条叫乘法原理
n It takes discrete values, multiples of some integer n, and the multiplication factor is the ratio of the Planck constant divided by 2 pi where n takes one, two, three and so on.
这些离散的值乘以整数,乘积因子,是普朗克常数除以2π,其中n可以取1,2,3,等等。
STUDENT: Standard order of operations, I guess take the multiplication first, and add the three.
学生:标准运算符的顺序,我猜是先做乘法,然后再去加3。
And so, in fact, if I wanted the other version of it, in fact, if I do this right, 23 it's going to give me 23 because it does the multiplication first, if I wanted the other version of it, Python I need to tell it that, by using, excuse me, parentheses.
因此,实际上,如果我想换种做法,实际上,如果我去执行这个表达式,返回值是3,因为乘法会被优先执行,如果我需要换种做法,我需要告诉,用括号来告诉它。
应用推荐