If it is right, I'm going to print out the information but I'm also going to change that variable to true.
看如果它是对的,它是对的的话,我将会输出结果。
And I'll sit there staring at the output, staring at the code, not realizing that that output was not produced by that code.
然后我就坐在那儿盯着输出的结果,看着代码,没有意识到输出的结果,并不是由我的代码产生。
What that basically says is the following: in an interpreted language, you take what's called the source code, the thing you write, it may go through a simple checker but it basically goes to the interpreter, that thing inside the machine that's going to control the flow of going through each one of the instructions, and give you an output.
也就说,如果是解释语言的话:,你要写一些叫做,源码的东西,你写的东西会经过一个简单的过滤器,然后解释器会处理你的源码,解释器会产生一个,逐条读取你的源码的,控制流,然后返回一个输出结果。
And given those types of input, will get back output.
然后鉴于输入类型返回结果输出。
And then I'm going to do a similar thing to print things out. But would the solver do?
然后我还是一样要把结果输出来,那solver做的是什么呢?
Is the first part. That says, I took the branch through here that eventually got to the end and said, there wasn't a solution, in which case I'mgoing to print out, there ain't no solution, otherwise I'll print out the pieces. All right, let's check it out. Ah, what did I say?
我是否返回了特殊的none值?是第一部分,这里的意思是我从这个分支,走到这儿最终走到最后,并告诉我这条路没有解决方案,也就是我想要打印的结果,没有符合的结果,否则我会把它们输出来?
应用推荐