My canvas bag had torn cottonfield pants and the tattered remnants of my huarache shoes in it.
我的帆布包里还有两条破烂的裤子,和破旧的革条帮平底凉鞋。
You don't want to be like "Hey, criminals, come and get my purse."
你不会想发出这样的信号:
“喂,罪犯们,过来呀,来抢我的包吧。”
I'll compute its value. Then I'll empty the backpack out, put another combination of stuff compute its value, try all possible ways of filling up the backpack, and then when I'm done, I'll know which was the best.
直至把它填满,然后计算价值,然后我把包里的东西都导出来,再换一堆东西计算它们的价值,尝试过所有填满包的方案后,我就知道哪一种方案是最好的了。
I have my picnic blanket in here.
我的包)里面有我的野餐毯子。
And my old backpack is really small.
而且我的旧包太小了。
Let me hold your bag.
我来拿你的包吧。
Where is my bag?
我的包在哪里?
I wanted to show you that, so, first thing I'm going to do is say, all right, I know I'm going to need square root in here, so I'm going to, in fact, import math.
我们可以开始完成这个方法了,我想让你们看到完成这个方法的过程,第一件事情就是,我们在这儿需要一个求平方根的方法,实际上我将引入math包。
应用推荐