From 6bae71d549dc43c4949793202492fd4f4bb747f9 Mon Sep 17 00:00:00 2001 From: Marc Dalmau Date: Thu, 6 Oct 2022 18:21:35 +0200 Subject: [PATCH 1/2] lab done --- main.ipynb | 789 +++++++++++++++++++++++-- mod/__pycache__/testing.cpython-39.pyc | Bin 0 -> 13212 bytes 2 files changed, 738 insertions(+), 51 deletions(-) create mode 100644 mod/__pycache__/testing.cpython-39.pyc diff --git a/main.ipynb b/main.ipynb index 73f285a..64ad0bb 100644 --- a/main.ipynb +++ b/main.ipynb @@ -20,7 +20,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 203, "metadata": {}, "outputs": [], "source": [ @@ -37,19 +37,34 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 204, "metadata": {}, "outputs": [], "source": [ "def greater(a,b):\n", - " pass" + " if a > b:\n", + " return a\n", + " elif b > a:\n", + " return b" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 205, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.031s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_greater(greater)" @@ -64,19 +79,36 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 206, "metadata": {}, "outputs": [], "source": [ "def greatest(arr):\n", - " pass" + " largest_element = 0\n", + " for element in arr:\n", + " if element > largest_element:\n", + " largest_element = element\n", + " return largest_element\n", + "\n" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 207, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.027s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_greatest(greatest)" @@ -91,19 +123,34 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 208, "metadata": {}, "outputs": [], "source": [ "def sum_all(arr):\n", - " pass" + " total = 0\n", + " for i in arr:\n", + " total += i\n", + " return total" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 209, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.026s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_sum(sum_all)" @@ -118,19 +165,34 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 210, "metadata": {}, "outputs": [], "source": [ "def mult_all(arr):\n", - " pass" + " total = 1\n", + " for i in arr:\n", + " total *= i\n", + " return total" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 211, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.044s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_mult(mult_all)" @@ -145,19 +207,40 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 212, "metadata": {}, "outputs": [], "source": [ "def oper_all(arr, oper):\n", - " pass" + " if oper == '+':\n", + " total = 0\n", + " for i in arr:\n", + " total += i\n", + " return total\n", + " elif oper == '*':\n", + " total = 1\n", + " for i in arr:\n", + " total *= i\n", + " return total" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 213, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.026s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_operations(oper_all)" @@ -172,19 +255,34 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 214, "metadata": {}, "outputs": [], "source": [ "def factorial(n):\n", - " pass" + " fact = 1\n", + " for i in range(1,n+1):\n", + " fact=fact*i\n", + " return fact\n" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 215, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.025s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_factorial(factorial)" @@ -201,19 +299,35 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 216, "metadata": {}, "outputs": [], "source": [ "def unique(arr):\n", - " pass" + " list_ = []\n", + " for i in arr:\n", + " if i not in list_:\n", + " list_.append(i)\n", + " return list_\n" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 217, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.084s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_unique(unique)" @@ -229,19 +343,43 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 218, "metadata": {}, "outputs": [], "source": [ "def mode_counter(arr):\n", - " pass" + " counts = {}\n", + " for i in arr:\n", + " if i in counts:\n", + " counts[i] += 1\n", + " else:\n", + " counts[i] = 1 \n", + " \n", + " largest_element = 0\n", + " for k, v in counts.items():\n", + " if v > largest_element:\n", + " largest_element = v\n", + " largest_element_2 = k\n", + " return largest_element_2" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 219, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.026s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_mode(mode_counter)" @@ -257,20 +395,484 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 220, "metadata": {}, "outputs": [], "source": [ "from statistics import stdev\n", "def st_dev(arr):\n", - " pass" + "\n", + " counter = 0\n", + " for char in arr:\n", + " counter += 1\n", + "\n", + " total = 0\n", + " for i in arr:\n", + " total += i\n", + "\n", + " n = counter\n", + " mean = total / n\n", + "\n", + " x = [(x - mean)**2 for x in arr]\n", + "\n", + " total_2 = 0\n", + " for i in x:\n", + " total_2 += i\n", + "\n", + " var = total_2 / n\n", + " std_dev = var ** 0.5\n", + " return std_dev" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 221, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....FFFF..FFFF.FFF.F.FFF.FF..FFFF.FF....FFFFFF.F.F..F..F....FFFF.F....F.F...FF.F..FFFFF.F.F.F..F.F.F\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 581.8567094492239 != 587.424843106745 within 5 delta (5.568133657521116 difference) : Should be 587.424843106745\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 676.0777765908298 != 693.6411631080546 within 5 delta (17.563386517224785 difference) : Should be 693.6411631080546\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 585.2642735097716 != 590.8650161788026 within 5 delta (5.600742669031092 difference) : Should be 590.8650161788026\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 609.6509019284907 != 636.7595997539321 within 5 delta (27.108697825441368 difference) : Should be 636.7595997539321\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 678.2823076631802 != 708.4427651653672 within 5 delta (30.160457502187 difference) : Should be 708.4427651653672\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 390.83187632990683 != 399.23782458543445 within 5 delta (8.405948255527619 difference) : Should be 399.23782458543445\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 529.4242024682756 != 545.7179768837725 within 5 delta (16.293774415496955 difference) : Should be 545.7179768837725\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 602.3062469350231 != 610.3912563063539 within 5 delta (8.085009371330784 difference) : Should be 610.3912563063539\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 518.4508210790596 != 526.01984657577 within 5 delta (7.569025496710424 difference) : Should be 526.01984657577\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 517.0360553954388 != 526.8852462140715 within 5 delta (9.849190818632678 difference) : Should be 526.8852462140715\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 568.4862147747199 != 593.7644862666638 within 5 delta (25.278271491943883 difference) : Should be 593.7644862666638\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 558.8506856834739 != 568.4043809031429 within 5 delta (9.553695219668953 difference) : Should be 568.4043809031429\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 621.5192780741008 != 646.8977745897962 within 5 delta (25.37849651569536 difference) : Should be 646.8977745897962\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 572.1893938892426 != 585.6545160085527 within 5 delta (13.465122119310081 difference) : Should be 585.6545160085527\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 555.33295692275 != 561.0878562961359 within 5 delta (5.754899373385911 difference) : Should be 561.0878562961359\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 595.9952741272425 != 614.3378668988933 within 5 delta (18.342592771650743 difference) : Should be 614.3378668988933\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 628.1172773986293 != 633.4179391154156 within 5 delta (5.300661716786294 difference) : Should be 633.4179391154156\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 537.263461906726 != 551.2206812826277 within 5 delta (13.957219375901673 difference) : Should be 551.2206812826277\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 557.7401995351553 != 568.785632188978 within 5 delta (11.045432653822672 difference) : Should be 568.785632188978\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 637.7793667954924 != 650.4098873314131 within 5 delta (12.63052053592071 difference) : Should be 650.4098873314131\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 542.1856375818157 != 547.6902014229339 within 5 delta (5.50456384111817 difference) : Should be 547.6902014229339\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 545.0432453240351 != 553.2398442917348 within 5 delta (8.196598967699742 difference) : Should be 553.2398442917348\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 518.1850341256844 != 527.6938095276053 within 5 delta (9.508775401920843 difference) : Should be 527.6938095276053\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 587.1892724863364 != 592.808436617934 within 5 delta (5.619164131597586 difference) : Should be 592.808436617934\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 501.1425148129633 != 510.33855735354064 within 5 delta (9.19604254057731 difference) : Should be 510.33855735354064\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 590.2426193067093 != 595.489323549258 within 5 delta (5.246704242548617 difference) : Should be 595.489323549258\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 565.1344645393732 != 575.5047692400033 within 5 delta (10.370304700630072 difference) : Should be 575.5047692400033\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 597.1883975951159 != 618.1487184288568 within 5 delta (20.960320833740866 difference) : Should be 618.1487184288568\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 667.7749121772496 != 680.4955773326016 within 5 delta (12.72066515535198 difference) : Should be 680.4955773326016\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 619.347051951124 != 624.4869496420434 within 5 delta (5.139897690919497 difference) : Should be 624.4869496420434\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 630.6206289045738 != 637.0230329350705 within 5 delta (6.402404030496768 difference) : Should be 637.0230329350705\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 576.6649508171494 != 583.0371326662075 within 5 delta (6.372181849058165 difference) : Should be 583.0371326662075\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 609.8188794584378 != 628.5869131257357 within 5 delta (18.768033667297914 difference) : Should be 628.5869131257357\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 574.5665092517306 != 581.2091173192041 within 5 delta (6.642608067473475 difference) : Should be 581.2091173192041\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 562.9982491506637 != 571.4648633274187 within 5 delta (8.466614176755002 difference) : Should be 571.4648633274187\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 422.82293991741756 != 430.581806163407 within 5 delta (7.758866245989452 difference) : Should be 430.581806163407\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 429.09875676300385 != 448.17903450484715 within 5 delta (19.080277741843304 difference) : Should be 448.17903450484715\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 583.1821545780515 != 588.7629722100171 within 5 delta (5.580817631965601 difference) : Should be 588.7629722100171\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 591.535079602216 != 603.7329624925245 within 5 delta (12.197882890308506 difference) : Should be 603.7329624925245\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 537.8861919169864 != 543.701346776506 within 5 delta (5.81515485951968 difference) : Should be 543.701346776506\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 630.6321847338156 != 640.1159076470576 within 5 delta (9.48372291324199 difference) : Should be 640.1159076470576\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 540.60353068879 != 547.0014283063745 within 5 delta (6.397897617584476 difference) : Should be 547.0014283063745\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 565.9887061602424 != 572.2429148737348 within 5 delta (6.254208713492403 difference) : Should be 572.2429148737348\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 572.0041103811225 != 577.5847704395785 within 5 delta (5.580660058456033 difference) : Should be 577.5847704395785\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 535.5157167070231 != 546.1210178649474 within 5 delta (10.60530115792426 difference) : Should be 546.1210178649474\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 559.4429247075904 != 565.0096580816032 within 5 delta (5.56673337401287 difference) : Should be 565.0096580816032\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 559.1452455428961 != 564.7090168622157 within 5 delta (5.563771319319585 difference) : Should be 564.7090168622157\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 575.9785449003231 != 581.0090207162536 within 5 delta (5.030475815930572 difference) : Should be 581.0090207162536\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 588.4310438219022 != 609.0839960840494 within 5 delta (20.65295226214721 difference) : Should be 609.0839960840494\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 613.631834046362 != 622.5904368851487 within 5 delta (8.95860283878676 difference) : Should be 622.5904368851487\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 532.3129040120837 != 547.7454593470347 within 5 delta (15.432555334951076 difference) : Should be 547.7454593470347\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 566.5190235257952 != 574.1236459874602 within 5 delta (7.604622461665031 difference) : Should be 574.1236459874602\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 555.6817770193526 != 560.8995607599073 within 5 delta (5.217783740554751 difference) : Should be 560.8995607599073\n", + "\n", + "======================================================================\n", + "FAIL: runTest (mod.testing.test_stdev..TestKnown)\n", + "----------------------------------------------------------------------\n", + "Traceback (most recent call last):\n", + " File \"/Users/marcdalmau/Desktop/lab-functions/mod/testing.py\", line 142, in runTest\n", + " self.assertAlmostEqual(fn(self.input), self.output, delta=5, msg=f\"Should be {self.output}\")\n", + "AssertionError: 553.0961239369243 != 580.0921086736611 within 5 delta (26.995984736736773 difference) : Should be 580.0921086736611\n", + "\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.035s\n", + "\n", + "FAILED (failures=54)\n" + ] + } + ], "source": [ "# This will test your function \n", "test_stdev(st_dev)" @@ -285,19 +887,36 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 222, "metadata": {}, "outputs": [], "source": [ "def pangram(string):\n", - " pass" + "\n", + " alphabet = \"abcdefghijklmnopqrstuvwxyz\"\n", + " for char in alphabet:\n", + " if char not in string.lower():\n", + " return False\n", + " return True" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 223, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "..............................\n", + "----------------------------------------------------------------------\n", + "Ran 30 tests in 0.008s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_pangram(pangram)" @@ -314,19 +933,48 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 224, "metadata": {}, "outputs": [], "source": [ "def sort_alpha(string):\n", - " pass" + " string+=\",\"\n", + " newlist=[]\n", + " word=\"\"\n", + " newword=\"\"\n", + " for letter in string.lower():\n", + " if letter ==\",\":\n", + " newlist.append(word)\n", + " word=\"\"\n", + " else:\n", + " word+=letter\n", + " \n", + " newlist.sort()\n", + " \n", + " for elem in newlist:\n", + " newword+=\",\"+elem\n", + " \n", + " newword2=newword[1:]\n", + " return newword2\n" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 225, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.028s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_alpha(sort_alpha)" @@ -342,19 +990,53 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 226, "metadata": {}, "outputs": [], "source": [ "def check_pass(string):\n", - " pass" + " count_lower = 0\n", + " count_upper = 0\n", + " count_special = 0\n", + " count_number = 0\n", + " \n", + " lower = \"abcdefghijklmnopqrstuvwxyz\"\n", + " upper = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n", + " special = \"#@!$%&()^*[]{}\"\n", + " number = '1234567890'\n", + " \n", + " for i in string:\n", + " if i in lower:\n", + " count_lower += 1\n", + " elif i in upper:\n", + " count_upper += 1\n", + " elif i in special:\n", + " count_special += 1\n", + " elif i in number:\n", + " count_number += 1\n", + " else:\n", + " return False\n", + " \n", + " return count_lower >= 1 and count_upper >= 1 and count_special >= 1 and count_number >= 1 and len(string) >= 8" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 227, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "....................................................................................................\n", + "----------------------------------------------------------------------\n", + "Ran 100 tests in 0.024s\n", + "\n", + "OK\n" + ] + } + ], "source": [ "# This will test your function \n", "test_pass(check_pass)" @@ -363,7 +1045,7 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3", + "display_name": "Python 3.9.12 ('base')", "language": "python", "name": "python3" }, @@ -377,7 +1059,12 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.8.6" + "version": "3.9.12" + }, + "vscode": { + "interpreter": { + "hash": "1f2ec5f3a5f415eabd5a31ec32ae902623010d32d5f6d2aaf67d0fa0a75ee3c0" + } } }, "nbformat": 4, diff --git a/mod/__pycache__/testing.cpython-39.pyc b/mod/__pycache__/testing.cpython-39.pyc new file mode 100644 index 0000000000000000000000000000000000000000..5f516f1711a27f5c3db08b8dcf5ea216b78d0783 GIT binary patch literal 13212 zcmds8TWlOx8J;tl!sR8Ga%VWfGi|l00|-S0=yu>0}s5+D=+vNiH8U&eE&InnO%GB32|Ks zM|pao&KcM5 zXSg0{(`?E3ffi`X`ii#50)rb%?3#AxIjIoB}T)I<@3cl{Ad^yi;NV{7#3^7;ezKx;9VHy-FE z#tojhpUEd4XbCN!1gT`>xxn^=LRr{WV2j*E*DG4Ce<^nhSHDvAW~;>(X(CU3`t8Th zKZ+*Mz`3@hFS8YmX$x#YE9eV4T7x)UWfQ9j$i5D#hM7XasX9TS5GI{!tsaCauO8sI zYJ>^jc1vP6=!s!8t9m%l9zPr?6pF6p`-Q@)_VA?(U-xa{U#M83$St>G)h}GL{h7e4 zU2v_*^QC&V7&u-P4|x0n&CIEmbG3Of1hTvE^HXRvHq272ab}B|=UNPREdp8)L_~_< zI64d3vJ}EJ`w;zUECybS1%gssK#DsTYKDG#6y<4~3$h?^t z0l`%k>ZPhUfUbB7O_&z-D#?Rx`UF^wHBN8EeDj^v6bZg+Rcr`;uuy

Mr$%3I!Tn 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 Q{2Re Date: Thu, 6 Oct 2022 18:31:26 +0200 Subject: [PATCH 2/2] lab --- .DS_Store | Bin 0 -> 6148 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .DS_Store diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..e13d4de5d398bd32ffd8ba0dea58c7a32d4e0076 GIT binary patch literal 6148 zcmeHKO-~y!5FIC>?1GSTXeBO{R^p1%6cB3F%Ql1qhhA9J9$J*{b|bp#Vn_LCgrZ1$ zZhuU#{1W~SePf#n2wVYGGt&5t$20c&*|OI}q&k!QHBpm@0w`lGL~)03JL`hfyk`lh zY#%KuXh3JADO-pZ$5Uj0*KUPQDaFcZy0(4?rTLbXhS!ld$9rh&(h4l1I&uus z9hFT-1K-zqHYkhHxZS=`wR&Ue*>bQPtOm!)cQZ}K>3A~gq{Gi#J2IxsuIx1XSoEj8 z=JP$H$7!MaLz__KeT01ZROsAHJ7%KukVy*upvC{MNdWoJbS``F5w$1C^^!_WC=GSsEfC-87|NQbl!e!BDl*a9!N zSWzz#b)7p@MT7xiKp1#b2K-qUtUl^j$l$_&Fz^%^;PWAZGR7V&hxX_|VV?lN2HaL) z^Y0?(L>^<0l|!^ZluHG=ROO!-%B8~}`MB6)<fU# fh~=wz9cl&shz(%uv2q9xM1BM;4N?dL56Zw_iOX!^ literal 0 HcmV?d00001