a = 3 a 3 b Traceback (most recent call last): File "", line 1, in b NameError: name 'b' is not defined
是不是看不清哪个是代码行,哪个是执行结果?
解决办法选中代码 ->右键 ->copy with prompts,然后插入代码即可。
效果如下捏:
>>> a = 3 >>> a 3 >>> b Traceback (most recent call last): File "", line 1, in b NameError: name 'b' is not defined
这样是不是清楚很多啦~~~



