Python Note : 1
来源:互联网 发布:淘宝服装店铺定位 编辑:程序博客网 时间:2024/05/22 07:55
In interactive mode, the last printed expression is assigned to the variable _
. This means that when you are using Python as a desk calculator, it is somewhat easier to continue calculations. But, this variable should be treated as read-only by the user. Don't explicitly assign a value to it -- you would create an independent local variable with the same name masking the built-in variable with its magic behavior.
在交互模式下,可以用 _ 代替上一个计算结果,但不可以对它赋值,这样虽然不会产生错误,但事实上是定义了一个新的变量 _ 。
- Python Note : 1
- Python Study Note 1
- python Note
- Python Note
- python note
- Python Note
- Python Note
- Python note
- Python Note
- Python note
- Python Note
- Python Note
- python note
- Note:R+Python数据科学实战(1)
- python learning note 1-(19-7-2017)
- Python Syntax Note
- Python Learning Note
- Python Learning Note
- javascript的常用表单检查方法!
- 让我感觉很爽的CachedRowSet
- A const object can only call const function
- 3.24-3.25工作总结
- 2005年3月25日 晴,微风
- Python Note : 1
- java 帮助文档的各种方法怎么用?
- 由C#风潮想起的-给初学编程者的忠告
- 编程站点
- RichEdit中支持超链接的实现
- 第一次使用Blog
- Oracle恢复实验一:使用添加数据文件之前的控制文件
- 反朴归真
- 了解无线网络的 802.1X 身份验证