And so we'll talk about how that happened in the— using the examples of smallpox and polio.
所以我们会以天花和小儿麻痹症为例,讨论上述目标是如何实现的
Give you some examples. What have we talked about? We've talked about things like using comments to highlight what you're doing in the code, to make it easier to debug.
给大家举些例子,我们一直在强调什么来着?,我们讲过要用注释来说明,你在代码中进行的操作,以便于调试。
First, using a couple of examples that have turned out to be very important, one is the example of smallpox, and the second is the example of polio.
首先,举两个重要的事例,其中一个例子是天花,另一个是小儿麻痹症
I spotted an error here, I could have spotted it by running it on different test sets, and using prints things, another way of doing it, but this idea of at least simulating it on simple examples lets you check a couple of important questions.
操作么?我在这里发现了一个错误,我也可以通过运行不同的测试集,或者运用print声明来发现这个错误,但是至少应该用简单的例子来手工模拟下,代码的思想可以让你,对一些很重要的问题进行检验。
应用推荐