If I wanted every stock to have the same volatility, I could just do that, if you will, at the time I wrote my program.
如果我希望每只股票的浮动值都相同,在我编写程序的时候,如果你愿意的话,我会这么做。
Just to drive home one more reason why I don't want to have changes to the values other than through pre-defined things.
注意如果我这么做的话会发生什么,我可以说我想要改变,某个特定点的半径。
Why if you could do that ? would you wish to be just at the same time, ? or wish to be just instead of that?
如果你们能这么做的话,还会想到正义吗,或用正义来替代那些放纵恶行?
If you agree with my estimates, then you should do this as an investor, you should hold only some mixture of this tangency portfolio, which is 9% oil, 27% stocks, and 64% bonds.
如果你赞同我的估计值,那么作为一个投资者的话你应该这么做,你应该只持有,符合这个切线投资组合比例的投资,即9%的石油,27%的股票,和64%的债券。
But, they create a Central Commission of Hygiene and Sobriety which tell people-- encourage people to eat healthfully, and don't just get wasted all the time-- which is what I would have done, I'll tell you that.
但巴黎人很快成立了中央卫生委员会,旨在宣传并鼓励人们,健康饮食,告诫人们不要总是浪费时间,老实说,如果我在那里的话,早就这么做了
Maybe they would, if they knew where I was going to go on so doggedly and do all these publications but being having the kind of mentality I have now that this student might claim that I have more to cover I've never been kicked out of the professional.
不过要是他们知道我会这么坚持不懈地做下去,还发表这么多书的话,当时的人或许会允许我,宽容我,但是如果那个学生带着我刚才的想法,的话,他或许会说,我还有很多要研究的呢,我一直都是专家。
And in fact, if you look down- and I'm just going to highlight this portion, I'm not going to run it- but if you look down here, that's exactly what that does.
实际上,如果你往下看-,我正要强调这一部分,我不会去运行它-,但是如果你看看这儿的话,这个方法确实就是这么做的。
And as a consequence, access time in the list is constant, which is what I want.
这会占用一些额外的空间,回到问题本身,这么做的话,读取数组的时间就变成常量了。
You need to, if you want something to be printed out inside your code, you need to tell the machine to do that.
你需要,如果你想要,在代码中显示一些东西的话,你需要告诉机器这么做。
Because this is something that could certainly have screwed you up if you didn't realize it did it, and you need to have that discipline to make sure it's doing the right thing.
因为这是一件如果你没意识到,要这么做的话,可能会令你抓狂的一件事,你需要一个规范,来确定Python做了正确的事情。
应用推荐