forked from margaretmz/caster-io-courses
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f8a396
commit 096361d
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"L2_Python Basics.ipynb","provenance":[],"private_outputs":true,"collapsed_sections":[]},"kernelspec":{"name":"python3","display_name":"Python 3"}},"cells":[{"cell_type":"code","metadata":{"id":"3FEUxZXhJS8L","colab_type":"code","colab":{}},"source":["print(\"hello\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"TIRqlIwsJZ4P","colab_type":"code","colab":{}},"source":["print(1+2)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"R15z-jOxJcsO","colab_type":"code","colab":{}},"source":["x = 9"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"DtR8ABxpJeaJ","colab_type":"code","colab":{}},"source":["type(x)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"NVYq8KXGJft-","colab_type":"code","colab":{}},"source":["print(x)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"guiUPVsMJl_i","colab_type":"code","colab":{}},"source":["if (x > 0):\n"," print (\"positive\")\n","elif (x < 0):\n"," print (\"negative\")\n","else:\n"," print (\"zero\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"OxuvvQRHJ_Zr","colab_type":"code","colab":{}},"source":["def print_num(x):\n"," if (x > 0):\n"," print (\"positive\")\n"," elif (x < 0):\n"," print (\"negative\")\n"," else:\n"," print (\"zero\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"BdR8BVf2KGLP","colab_type":"code","colab":{}},"source":["print_num(0)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"H7tbzWHBKLbH","colab_type":"code","colab":{}},"source":["import tensorflow as tf\n","tf.version.VERSION"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"j6_sulxNKbxd","colab_type":"code","colab":{}},"source":["!pip install tensorflow==2.0.0-beta1"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"6nWL3K6ZKi48","colab_type":"code","colab":{}},"source":["import tensorflow as tf\n","tf.version.VERSION"],"execution_count":0,"outputs":[]}]} | ||
{"nbformat":4,"nbformat_minor":0,"metadata":{"colab":{"name":"L2_Python Basics.ipynb","provenance":[],"private_outputs":true,"collapsed_sections":[]},"kernelspec":{"name":"python3","display_name":"Python 3"}},"cells":[{"cell_type":"code","metadata":{"id":"3FEUxZXhJS8L","colab_type":"code","colab":{}},"source":["print(\"hello\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"TIRqlIwsJZ4P","colab_type":"code","colab":{}},"source":["print(1+2)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"R15z-jOxJcsO","colab_type":"code","colab":{}},"source":["x = 9"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"DtR8ABxpJeaJ","colab_type":"code","colab":{}},"source":["type(x)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"NVYq8KXGJft-","colab_type":"code","colab":{}},"source":["print(x)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"guiUPVsMJl_i","colab_type":"code","colab":{}},"source":["if (x > 0):\n"," print (\"positive\")\n","elif (x < 0):\n"," print (\"negative\")\n","else:\n"," print (\"zero\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"OxuvvQRHJ_Zr","colab_type":"code","colab":{}},"source":["def print_num(x):\n"," if (x > 0):\n"," print (\"positive\")\n"," elif (x < 0):\n"," print (\"negative\")\n"," else:\n"," print (\"zero\")"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"BdR8BVf2KGLP","colab_type":"code","colab":{}},"source":["print_num(0)"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"H7tbzWHBKLbH","colab_type":"code","colab":{}},"source":["import tensorflow as tf\n","tf.version.VERSION"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"j6_sulxNKbxd","colab_type":"code","colab":{}},"source":["!pip install tensorflow==2.0.0-beta1"],"execution_count":0,"outputs":[]},{"cell_type":"code","metadata":{"id":"6nWL3K6ZKi48","colab_type":"code","colab":{}},"source":["# Verify the specific version of tensorflow has been installed\n","import tensorflow as tf\n","tf.version.VERSION"],"execution_count":0,"outputs":[]}]} |