From 401e4be257b9a4516ed3433cbee2203d4d238079 Mon Sep 17 00:00:00 2001 From: edoguqmul Date: Wed, 10 Jul 2024 10:43:02 +0100 Subject: [PATCH 1/3] Update to readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 743563b..68e528b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # github-tutorial Basic Github Repo for Teaching Session 10th July 2024 + +# This is a level 1 heading + +this is a test \ No newline at end of file From f9de328c4050f36f06a16c2e920902d9e575806c Mon Sep 17 00:00:00 2001 From: edoguqmul Date: Wed, 10 Jul 2024 10:54:04 +0100 Subject: [PATCH 2/3] Create elif_bmi --- elif_bmi.ipynb | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 elif_bmi.ipynb diff --git a/elif_bmi.ipynb b/elif_bmi.ipynb new file mode 100644 index 0000000..00018e7 --- /dev/null +++ b/elif_bmi.ipynb @@ -0,0 +1,47 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 3, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "22.647376960519203\n" + ] + } + ], + "source": [ + "height = 1.72\n", + "weight = 67\n", + "\n", + "BMI=weight/(height*height)\n", + "\n", + "print(BMI)" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "base", + "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.10.9" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} From feacf9430f6a052b515fe989e7393d7c5476012d Mon Sep 17 00:00:00 2001 From: edoguqmul Date: Wed, 10 Jul 2024 11:10:17 +0100 Subject: [PATCH 3/3] update_elif_bmi --- elif_bmi.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elif_bmi.ipynb b/elif_bmi.ipynb index 00018e7..39855aa 100644 --- a/elif_bmi.ipynb +++ b/elif_bmi.ipynb @@ -2,20 +2,20 @@ "cells": [ { "cell_type": "code", - "execution_count": 3, + "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "22.647376960519203\n" + "22.985397512168742\n" ] } ], "source": [ "height = 1.72\n", - "weight = 67\n", + "weight = 68\n", "\n", "BMI=weight/(height*height)\n", "\n",