Selaa lähdekoodia

Add example notebook that uses xeus-python

Jeremy Tuloup 5 vuotta sitten
vanhempi
commit
fcb08e9e6a
2 muutettua tiedostoa jossa 33 lisäystä ja 0 poistoa
  1. 0 0
      README.md
  2. 33 0
      examples/index.ipynb

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
README.md


+ 33 - 0
examples/index.ipynb

@@ -0,0 +1,33 @@
+{
+ "cells": [
+  {
+   "cell_type": "code",
+   "execution_count": null,
+   "metadata": {},
+   "outputs": [],
+   "source": [
+    "def add(a, b):\n",
+    "    res = a + b\n",
+    "    return res\n",
+    "\n",
+    "result = add(1, 2)\n",
+    "print(result)"
+   ]
+  }
+ ],
+ "metadata": {
+  "kernelspec": {
+   "display_name": "xpython",
+   "language": "python",
+   "name": "xpython"
+  },
+  "language_info": {
+   "file_extension": ".py",
+   "mimetype": "text/x-python",
+   "name": "python",
+   "version": "3.7.3"
+  }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 4
+}

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä