So what would I want to do? I'd like to somehow walk down each of the digits one at a time and add them up. Ah, that's a looping mechanism, right? I need to have some way of walking through them.
去取这个数的,每个数字然后把他们加起来,啊,这是个循环机制对不对?,我得找到一个遍历它们的方法,一种简单的方法可能。
Suppose I take a number. I'd like to add up all the digits inside of the number.
我可以用到刚刚提到的工具,来实现这个功能。
And, one thing I'd like to add to it, and that is, and I told this to my recitation sections that when you do these quizzes, in spite of the fact that it might be trivial in some cases, make sure you carry the units through.
而我要在这基础上再加一条,我在我的背诵课上也讲过,当你考试时,尽管单位不重要,但我希望你能注意它们。
应用推荐