And in Python the expression is, operand, operator, operand, when we're doing simple expressions like this, and if I give it to the interpreter, it gives me back exactly what you'd expect, which is that value. OK?
在Python中表达式就是,运算对象,操作符,运算对象,当我们处理这样的简单表达式的时候,我把表达式传给处理器,处理器给我返回了我想要的结果,对不对?
All right. If that sounds like a really long preamble, it is. Let's start with Python.
好,如果上面听起来像一个很长的序文,他确实是,让我们从Python开始。
It's an easy one to make in Python. Lots of assumptions like that.
在Python中你很容易犯这个错,还有很多这样的假设。
unfortunately in Python you can, however, do things like this.
很不幸在Python中你却可以这么干,不过你期待结果是什么呢?
OK. So what does Python look like?
好,那么Python和什么比较像呢?
应用推荐