From bb49e8e5afb561e32e16e2d6323428847e516e30 Mon Sep 17 00:00:00 2001 From: nataliealevenson Date: Mon, 25 Aug 2025 16:46:27 -0600 Subject: [PATCH 1/5] Showcases how range works --- .vscode/settings.json | 1 - ch01-datastructures/01_01_loops.ipynb | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 91ceb037c..b37fe572a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -17,7 +17,6 @@ "files.autoSave": "afterDelay", "screencastMode.onlyKeyboardShortcuts": true, "terminal.integrated.fontSize": 18, - "workbench.activityBar.visible": true, "workbench.colorTheme": "Visual Studio Dark", "workbench.fontAliasing": "antialiased", "workbench.statusBar.visible": true diff --git a/ch01-datastructures/01_01_loops.ipynb b/ch01-datastructures/01_01_loops.ipynb index 221f58679..e93685451 100644 --- a/ch01-datastructures/01_01_loops.ipynb +++ b/ch01-datastructures/01_01_loops.ipynb @@ -32,6 +32,10 @@ "metadata": {}, "outputs": [], "source": [ + "git add.#Showcases how range works\n", + "# for i in iterable (do something with i)\n", + "# range is set up by range([start,] stop [,step])\n", + "# range excludes the end value; range of 0-10 counts from 0-9 for n is 10 counts\n", "for i in range(0, 10):\n", " print(i)" ] From 29eeb9f67c867485b962a3b459830fb7282f4be1 Mon Sep 17 00:00:00 2001 From: nataliealevenson Date: Thu, 28 Aug 2025 13:37:26 -0600 Subject: [PATCH 2/5] Update 00_04_codespace.ipynb --- ch00-introduction/00_04_codespace.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ch00-introduction/00_04_codespace.ipynb b/ch00-introduction/00_04_codespace.ipynb index cb0c19d79..dba5cd650 100644 --- a/ch00-introduction/00_04_codespace.ipynb +++ b/ch00-introduction/00_04_codespace.ipynb @@ -67,3 +67,5 @@ "nbformat": 4, "nbformat_minor": 4 } + +#Hello from Marks world From c745e21e0d8653e575e29d76e48fcf0c7961d08b Mon Sep 17 00:00:00 2001 From: nataliealevenson Date: Thu, 28 Aug 2025 13:38:18 -0600 Subject: [PATCH 3/5] Update 00_04_codespace.ipynb --- ch00-introduction/00_04_codespace.ipynb | 71 ++++++++++++++++++++++++- 1 file changed, 70 insertions(+), 1 deletion(-) diff --git a/ch00-introduction/00_04_codespace.ipynb b/ch00-introduction/00_04_codespace.ipynb index dba5cd650..5b698d27f 100644 --- a/ch00-introduction/00_04_codespace.ipynb +++ b/ch00-introduction/00_04_codespace.ipynb @@ -68,4 +68,73 @@ "nbformat_minor": 4 } -#Hello from Marks world +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# 00_04: Using GitHub CodeSpaces with this course" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "print(\"Hello world!\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "import numpy as np\n", + "import matplotlib.pyplot as pp " + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "pp.figure(figsize=(6, 4))\n", + "\n", + "t = np.linspace(0, 30 * np.pi, 5000)\n", + "fs = [1, (1 + np.sqrt(5)) / 2, np.sqrt(2)]\n", + "\n", + "x = np.sin(fs[0] * t) + np.sin(fs[1] * t)\n", + "y = np.sin(fs[1] * t) + np.sin(fs[2] * t)\n", + "\n", + "pp.plot(x, y, color=\"k\", alpha=0.7, linewidth=0.8)\n", + "pp.axis(\"off\");" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3 (ipykernel)", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.11.8" + } + }, + "nbformat": 4, + "nbformat_minor": 4 +} + From 7c680283d76e2b17fe51ba05bd82b4f260fa29cd Mon Sep 17 00:00:00 2001 From: nataliealevenson Date: Thu, 28 Aug 2025 13:38:46 -0600 Subject: [PATCH 4/5] Update 00_04_codespace.ipynb --- ch00-introduction/00_04_codespace.ipynb | 70 ------------------------- 1 file changed, 70 deletions(-) diff --git a/ch00-introduction/00_04_codespace.ipynb b/ch00-introduction/00_04_codespace.ipynb index 5b698d27f..a414cca24 100644 --- a/ch00-introduction/00_04_codespace.ipynb +++ b/ch00-introduction/00_04_codespace.ipynb @@ -68,73 +68,3 @@ "nbformat_minor": 4 } -{ - "cells": [ - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "# 00_04: Using GitHub CodeSpaces with this course" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "print(\"Hello world!\")" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "import numpy as np\n", - "import matplotlib.pyplot as pp " - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "pp.figure(figsize=(6, 4))\n", - "\n", - "t = np.linspace(0, 30 * np.pi, 5000)\n", - "fs = [1, (1 + np.sqrt(5)) / 2, np.sqrt(2)]\n", - "\n", - "x = np.sin(fs[0] * t) + np.sin(fs[1] * t)\n", - "y = np.sin(fs[1] * t) + np.sin(fs[2] * t)\n", - "\n", - "pp.plot(x, y, color=\"k\", alpha=0.7, linewidth=0.8)\n", - "pp.axis(\"off\");" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "Python 3 (ipykernel)", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.11.8" - } - }, - "nbformat": 4, - "nbformat_minor": 4 -} - From 31e9928faa5ba4d2db2f64148da878f35f9ff016 Mon Sep 17 00:00:00 2001 From: nataliealevenson Date: Thu, 28 Aug 2025 13:39:38 -0600 Subject: [PATCH 5/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 39bdeea0c..575a4581e 100644 --- a/README.md +++ b/README.md @@ -35,3 +35,4 @@ Check out my other courses on [LinkedIn Learning](https://www.linkedin.com/learn [lil-course-url]: https://www.linkedin.com/learning/python-data-analysis-24296803 [lil-thumbnail-url]: https://media.licdn.com/dms/image/v2/D4D0DAQGSYAIAZElfSA/learning-public-crop_675_1200/learning-public-crop_675_1200/0/1733965184177?e=2147483647&v=beta&t=OXv45ZLLtcgntIsvH0mJG8ztMyetqZ0fUfscSXvDt50 +#document to prove I know something