为什么即使我正在运行python 2.7,我还需要在print语句周围使用括号?

时间:2017-07-23 15:08:07

标签: python version jupyter-notebook

我有一个为python 2.7编写的jupyter笔记本。我正在重新运行此代码但由于某种原因,我需要围绕我的print语句使用括号。

我是deffinately运行python2.7内核: enter image description here

然而: enter image description here

enter image description here

为什么我需要在print语句周围使用括号,即使我正在运行python 2.7?

0 个答案:

没有答案