From 69d1d868a2b70e039d09a1a0e496abf9988295eb Mon Sep 17 00:00:00 2001
From: chvmvd <chvmvd@users.noreply.github.com>
Date: Sat, 4 Feb 2023 13:05:05 +0900
Subject: [PATCH] Remove notebook outputs

---
 static/order/example1.ipynb  | 24 ++++++++----------------
 static/order/example2.ipynb  | 24 ++++++++----------------
 static/order/example3.ipynb  | 24 ++++++++----------------
 static/order/example4.ipynb  | 24 ++++++++----------------
 static/order/exercise1.ipynb | 33 ++++++++-------------------------
 static/order/exercise2.ipynb | 24 ++++++++----------------
 static/order/exercise3.ipynb | 24 ++++++++----------------
 7 files changed, 56 insertions(+), 121 deletions(-)

diff --git a/static/order/example1.ipynb b/static/order/example1.ipynb
index 38d5b4ea1..fbcddce6b 100644
--- a/static/order/example1.ipynb
+++ b/static/order/example1.ipynb
@@ -1,10 +1,10 @@
 {
- "nbformat": 4,
- "nbformat_minor": 2,
- "metadata": {},
  "cells": [
   {
+   "cell_type": "code",
+   "execution_count": null,
    "metadata": {},
+   "outputs": [],
    "source": [
     "def f(n):\n",
     "    cnt = 0\n",
@@ -14,18 +14,10 @@
     "\n",
     "\n",
     "print(f(100))"
-   ],
-   "cell_type": "code",
-   "outputs": [
-    {
-     "output_type": "stream",
-     "name": "stdout",
-     "text": [
-      "100\n"
-     ]
-    }
-   ],
-   "execution_count": null
+   ]
   }
- ]
+ ],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 2
 }
diff --git a/static/order/example2.ipynb b/static/order/example2.ipynb
index 338fd8caa..17f6a68fc 100644
--- a/static/order/example2.ipynb
+++ b/static/order/example2.ipynb
@@ -1,10 +1,10 @@
 {
- "nbformat": 4,
- "nbformat_minor": 2,
- "metadata": {},
  "cells": [
   {
+   "cell_type": "code",
+   "execution_count": null,
    "metadata": {},
+   "outputs": [],
    "source": [
     "def f(n):\n",
     "    cnt = 0\n",
@@ -15,18 +15,10 @@
     "\n",
     "\n",
     "print(f(100))"
-   ],
-   "cell_type": "code",
-   "outputs": [
-    {
-     "output_type": "stream",
-     "name": "stdout",
-     "text": [
-      "10000\n"
-     ]
-    }
-   ],
-   "execution_count": null
+   ]
   }
- ]
+ ],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 2
 }
diff --git a/static/order/example3.ipynb b/static/order/example3.ipynb
index 0f72a852c..6dcdb0ba3 100644
--- a/static/order/example3.ipynb
+++ b/static/order/example3.ipynb
@@ -1,10 +1,10 @@
 {
- "nbformat": 4,
- "nbformat_minor": 2,
- "metadata": {},
  "cells": [
   {
+   "cell_type": "code",
+   "execution_count": null,
    "metadata": {},
+   "outputs": [],
    "source": [
     "def g(cnt, n):\n",
     "    for _ in range(n):\n",
@@ -20,18 +20,10 @@
     "\n",
     "\n",
     "print(f(100))"
-   ],
-   "cell_type": "code",
-   "outputs": [
-    {
-     "output_type": "stream",
-     "name": "stdout",
-     "text": [
-      "10000\n"
-     ]
-    }
-   ],
-   "execution_count": null
+   ]
   }
- ]
+ ],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 2
 }
diff --git a/static/order/example4.ipynb b/static/order/example4.ipynb
index d68abde1f..21f99e2bc 100644
--- a/static/order/example4.ipynb
+++ b/static/order/example4.ipynb
@@ -1,10 +1,10 @@
 {
- "nbformat": 4,
- "nbformat_minor": 2,
- "metadata": {},
  "cells": [
   {
+   "cell_type": "code",
+   "execution_count": null,
    "metadata": {},
+   "outputs": [],
    "source": [
     "def f(n):\n",
     "    cnt = 0\n",
@@ -17,18 +17,10 @@
     "\n",
     "\n",
     "print(f(100))"
-   ],
-   "cell_type": "code",
-   "outputs": [
-    {
-     "output_type": "stream",
-     "name": "stdout",
-     "text": [
-      "10100\n"
-     ]
-    }
-   ],
-   "execution_count": null
+   ]
   }
- ]
+ ],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 2
 }
diff --git a/static/order/exercise1.ipynb b/static/order/exercise1.ipynb
index b4f543879..c38af7daa 100644
--- a/static/order/exercise1.ipynb
+++ b/static/order/exercise1.ipynb
@@ -1,35 +1,18 @@
 {
- "nbformat": 4,
- "nbformat_minor": 2,
- "metadata": {},
  "cells": [
   {
+   "cell_type": "code",
+   "execution_count": null,
    "metadata": {},
+   "outputs": [],
    "source": [
     "n = 10\n",
     "for i in range(n):\n",
     "    print(i)"
-   ],
-   "cell_type": "code",
-   "outputs": [
-    {
-     "output_type": "stream",
-     "name": "stdout",
-     "text": [
-      "0\n",
-      "1\n",
-      "2\n",
-      "3\n",
-      "4\n",
-      "5\n",
-      "6\n",
-      "7\n",
-      "8\n",
-      "9\n"
-     ]
-    }
-   ],
-   "execution_count": null
+   ]
   }
- ]
+ ],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 2
 }
diff --git a/static/order/exercise2.ipynb b/static/order/exercise2.ipynb
index dc5c56ce9..25bf44cbf 100644
--- a/static/order/exercise2.ipynb
+++ b/static/order/exercise2.ipynb
@@ -1,10 +1,10 @@
 {
- "nbformat": 4,
- "nbformat_minor": 2,
- "metadata": {},
  "cells": [
   {
+   "cell_type": "code",
+   "execution_count": null,
    "metadata": {},
+   "outputs": [],
    "source": [
     "def calc_max(data):\n",
     "    max_val = data[0]\n",
@@ -15,18 +15,10 @@
     "\n",
     "\n",
     "print(calc_max([1, 4, 3, 5, 2]))"
-   ],
-   "cell_type": "code",
-   "outputs": [
-    {
-     "output_type": "stream",
-     "name": "stdout",
-     "text": [
-      "5\n"
-     ]
-    }
-   ],
-   "execution_count": null
+   ]
   }
- ]
+ ],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 2
 }
diff --git a/static/order/exercise3.ipynb b/static/order/exercise3.ipynb
index 32673e0f1..f79d15338 100644
--- a/static/order/exercise3.ipynb
+++ b/static/order/exercise3.ipynb
@@ -1,28 +1,20 @@
 {
- "nbformat": 4,
- "nbformat_minor": 2,
- "metadata": {},
  "cells": [
   {
+   "cell_type": "code",
+   "execution_count": null,
    "metadata": {},
+   "outputs": [],
    "source": [
     "def calc_square(n):\n",
     "    return n**2\n",
     "\n",
     "\n",
     "print(calc_square(9))"
-   ],
-   "cell_type": "code",
-   "outputs": [
-    {
-     "output_type": "stream",
-     "name": "stdout",
-     "text": [
-      "81\n"
-     ]
-    }
-   ],
-   "execution_count": null
+   ]
   }
- ]
+ ],
+ "metadata": {},
+ "nbformat": 4,
+ "nbformat_minor": 2
 }
