Просмотр исходного кода

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

File "<ipython-input-9-6bfb78082e8c>", line 2
    print sess.run(hello)
             ^
SyntaxError: invalid syntax
Typic 7 лет назад
Родитель
Сommit
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
-}
+}