瀏覽代碼

Print in hello world doesnt have () :) (#233)

File "<ipython-input-9-6bfb78082e8c>", line 2
    print sess.run(hello)
             ^
SyntaxError: invalid syntax
Typic 7 年之前
父節點
當前提交
e43556dfc0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      notebooks/1_Introduction/helloworld.ipynb

+ 2 - 2
notebooks/1_Introduction/helloworld.ipynb

@@ -59,7 +59,7 @@
    ],
    "source": [
     "# Run graph\n",
-    "print sess.run(hello)"
+    "print(sess.run(hello))"
    ]
   }
  ],
@@ -84,4 +84,4 @@
  },
  "nbformat": 4,
  "nbformat_minor": 0
-}
+}