Well, things can be fixed by a little trick called global variables.
好的,问题可以通过,一个叫做全局变量的东西来解决。
So I'm going to show you a little trick for figuring that out.
因此接下来我会给你们讲一个,算出这个来的小把戏。
Let's do this little trick again.
我们再来做个小游戏。
And here's a little trick -- and again, we promised to point -- out little tricks of the trade -- if I know I want to execute the last command I typed that started with an m, bangm will actually figure out what that command was and redo it for me so I don't have to figure it out, or you can go back in time in a terminal window.
这里有个小技巧--此外,我们许诺指出行业中的,一些小技巧-,如果我知道我想执行我写入的上一个命令,是以m开头的,!m会明白那个命令是什么,然后为我恢复上次操作,所以我不需要明白它,或者你可以回到,那个终端窗口。
So, it's a little bit of a trick when you're dealing with ions.
因此,这是一个处理离子问题时的小技巧。
Another little pop quiz here, and these aren't trick questions necessarily, but if you had to guess what the bigger problem was in the developing world, so let's not just say outside the U.S.
我们再做一个小测试,这不是什么难题,你们猜猜,发展中国家面临最大的问题是什么,我们所说的不是美国以外的国家
Well, here's one nice little trick.
这儿有个小窍门。
I'm doing a little trick by the way, I'm using raw input in my function here as a just a way to stop the display.
顺便说下在这儿我有个小恶作剧,在这个函数中,我使用了raw,input方法。
I then assign thankful true, if so, but notice this little trick: -- I'm going to keep doing this while I am bang thankful -- bang exclamation point means "not," so this is shorthand, sort of clever elegant notation for "while I'm not thankful, keep doing this."
然后我给thankful赋true值,如果是这样,注意这里有个小技巧:,我将一直这样做,当我用满意时-,感叹号在这里的意思是“非“,这是一个可速记的,有几分机灵优雅的符号,用来说明:“当我不满意,保持这样做“
And in particular, I'm going to cheat slightly I'm going to use a little bit of abusive mathematics, but I'm going to show you a trick to figure it out.
尤其要说明的是,我会有一点不属实在里面,我会滥用一点数学,但是,我会教会你们这个小把戏的。
应用推荐