From 8815b69399caacc90ca093ed654530b0a8942131 Mon Sep 17 00:00:00 2001
From: Oscar Jaramillo <91103390+oscartazxx@users.noreply.github.com>
Date: Sun, 13 Jul 2025 18:04:47 -0500
Subject: [PATCH 1/9] Add files via upload

---
 .../Prep_Course_Homework_03.ipynb             | 440 ++++++++++++++----
 1 file changed, 343 insertions(+), 97 deletions(-)

diff --git a/M03_variablesydatos/Prep_Course_Homework_03.ipynb b/M03_variablesydatos/Prep_Course_Homework_03.ipynb
index b4d68b08b..fb47db1a1 100644
--- a/M03_variablesydatos/Prep_Course_Homework_03.ipynb
+++ b/M03_variablesydatos/Prep_Course_Homework_03.ipynb
@@ -18,10 +18,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 1,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "5\n"
+     ]
+    }
+   ],
+   "source": [
+    "a=5\n",
+    "print(a)"
+   ]
   },
   {
    "attachments": {},
@@ -33,10 +44,20 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 2,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "<class 'float'>\n"
+     ]
+    }
+   ],
+   "source": [
+    "print(type(8.5))"
+   ]
   },
   {
    "attachments": {},
@@ -48,10 +69,20 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 4,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "<class 'int'>\n"
+     ]
+    }
+   ],
+   "source": [
+    "print(type(a))"
+   ]
   },
   {
    "attachments": {},
@@ -63,10 +94,12 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 5,
    "metadata": {},
    "outputs": [],
-   "source": []
+   "source": [
+    "nombre = \"oscar\""
+   ]
   },
   {
    "attachments": {},
@@ -78,10 +111,12 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 6,
    "metadata": {},
    "outputs": [],
-   "source": []
+   "source": [
+    "complejo = 5+6j"
+   ]
   },
   {
    "attachments": {},
@@ -93,10 +128,20 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 7,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "<class 'complex'>\n"
+     ]
+    }
+   ],
+   "source": [
+    "print(type(complejo))"
+   ]
   },
   {
    "attachments": {},
@@ -108,10 +153,22 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 8,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "3.1416\n"
+     ]
+    }
+   ],
+   "source": [
+    "import math\n",
+    "numpi = math.pi\n",
+    "print(round(numpi,4))"
+   ]
   },
   {
    "attachments": {},
@@ -123,10 +180,13 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 9,
    "metadata": {},
    "outputs": [],
-   "source": []
+   "source": [
+    "Texto = 'true'\n",
+    "Boleano = True\n"
+   ]
   },
   {
    "attachments": {},
@@ -138,10 +198,22 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 11,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "<class 'str'>\n",
+      "<class 'bool'>\n"
+     ]
+    }
+   ],
+   "source": [
+    "print(type(Texto))\n",
+    "print(type(Boleano))"
+   ]
   },
   {
    "attachments": {},
@@ -153,10 +225,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 13,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "3.5\n"
+     ]
+    }
+   ],
+   "source": [
+    "suma = 3 + 0.5\n",
+    "print(suma)"
+   ]
   },
   {
    "attachments": {},
@@ -168,10 +251,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 15,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "(17+11j)\n"
+     ]
+    }
+   ],
+   "source": [
+    "sumacomplejo = 8+5j + 9+6j\n",
+    "print(sumacomplejo)"
+   ]
   },
   {
    "attachments": {},
@@ -183,10 +277,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 16,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "(17+7j)\n"
+     ]
+    }
+   ],
+   "source": [
+    "sumatoria = 8 + 9+7j\n",
+    "print(sumatoria)"
+   ]
   },
   {
    "attachments": {},
@@ -198,10 +303,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 17,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "24\n"
+     ]
+    }
+   ],
+   "source": [
+    "mult = 8 * 3\n",
+    "print(mult)"
+   ]
   },
   {
    "attachments": {},
@@ -213,10 +329,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 18,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "256\n"
+     ]
+    }
+   ],
+   "source": [
+    "elevar = 2**8\n",
+    "print(elevar)"
+   ]
   },
   {
    "attachments": {},
@@ -228,10 +355,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 19,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "6.75\n"
+     ]
+    }
+   ],
+   "source": [
+    "cociente = 27/4\n",
+    "print(cociente)"
+   ]
   },
   {
    "attachments": {},
@@ -243,10 +381,20 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 22,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "6\n"
+     ]
+    }
+   ],
+   "source": [
+    "print(27//4)\n"
+   ]
   },
   {
    "attachments": {},
@@ -258,10 +406,20 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 21,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "3\n"
+     ]
+    }
+   ],
+   "source": [
+    "print(27%4)"
+   ]
   },
   {
    "attachments": {},
@@ -273,10 +431,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 23,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "27\n"
+     ]
+    }
+   ],
+   "source": [
+    "resultado = 6*4+3\n",
+    "print(resultado)"
+   ]
   },
   {
    "attachments": {},
@@ -288,10 +457,21 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 25,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Hola 222\n"
+     ]
+    }
+   ],
+   "source": [
+    "letrero = 'Hola ' + '222'\n",
+    "print(letrero)"
+   ]
   },
   {
    "attachments": {},
@@ -303,10 +483,23 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 26,
+   "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "False"
+      ]
+     },
+     "execution_count": 26,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "\"2\"== 2\n"
+   ]
   },
   {
    "attachments": {},
@@ -318,10 +511,25 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 27,
+   "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "True"
+      ]
+     },
+     "execution_count": 27,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "ntexto = \"2\"\n",
+    "nnumero = 2\n",
+    "int(ntexto) == nnumero"
+   ]
   },
   {
    "attachments": {},
@@ -336,7 +544,9 @@
    "execution_count": null,
    "metadata": {},
    "outputs": [],
-   "source": []
+   "source": [
+    "\"Porque es un string\""
+   ]
   },
   {
    "attachments": {},
@@ -348,10 +558,22 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 30,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "2\n"
+     ]
+    }
+   ],
+   "source": [
+    "y = 3\n",
+    "y-=1\n",
+    "print(y)"
+   ]
   },
   {
    "attachments": {},
@@ -363,10 +585,24 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 31,
+   "metadata": {},
+   "outputs": [
+    {
+     "data": {
+      "text/plain": [
+       "4"
+      ]
+     },
+     "execution_count": 31,
+     "metadata": {},
+     "output_type": "execute_result"
+    }
+   ],
+   "source": [
+    "1 << 2\n",
+    "\n"
+   ]
   },
   {
    "attachments": {},
@@ -381,7 +617,9 @@
    "execution_count": null,
    "metadata": {},
    "outputs": [],
-   "source": []
+   "source": [
+    "'Es un error porque no se pueden sumar string con números'"
+   ]
   },
   {
    "attachments": {},
@@ -393,18 +631,26 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
-   "metadata": {},
-   "outputs": [],
-   "source": []
+   "execution_count": 32,
+   "metadata": {},
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "False\n"
+     ]
+    }
+   ],
+   "source": [
+    "cadena = 2 == '2'\n",
+    "print (cadena)"
+   ]
   }
  ],
  "metadata": {
-  "interpreter": {
-   "hash": "c85384e4cb51c8b72350f3a8712cc8351fdc3955e32a27f9b60c6242ab125f01"
-  },
   "kernelspec": {
-   "display_name": "Python 3 (ipykernel)",
+   "display_name": "Python 3",
    "language": "python",
    "name": "python3"
   },
@@ -418,7 +664,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.10.11"
+   "version": "3.13.5"
   }
  },
  "nbformat": 4,

From b396973acbc8b559bbca862b6e97ccd1cfebe79e Mon Sep 17 00:00:00 2001
From: Oscar Jaramillo <91103390+oscartazxx@users.noreply.github.com>
Date: Sun, 13 Jul 2025 18:05:22 -0500
Subject: [PATCH 2/9] Add files via upload

---
 .../Prep_Course_Homework_04.ipynb             | 148 +++++++++++++++---
 1 file changed, 127 insertions(+), 21 deletions(-)

diff --git a/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb b/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
index 8b5ecb46c..20abf2897 100644
--- a/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
+++ b/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
@@ -18,10 +18,28 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 1,
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "El número es cero\n"
+     ]
+    }
+   ],
+   "source": [
+    "numero = 0\n",
+    "if numero > 0:\n",
+    "    print(\"El número es positivo\")\n",
+    "elif numero < 0:\n",
+    "    print(\"El número es negativo\")\n",
+    "else:\n",
+    "    print(\"El número es cero\")\n",
+    "\n",
+    "    "
+   ]
   },
   {
    "attachments": {},
@@ -35,8 +53,24 @@
    "cell_type": "code",
    "execution_count": null,
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Las variables son de tipos diferentes\n"
+     ]
+    }
+   ],
+   "source": [
+    "variable1 = 'oscar'\n",
+    "variable2 = 10\n",
+    "\n",
+    "if type(variable1) == type(variable2):\n",
+    "    print(\"Las variables son del mismo tipo\")\n",
+    "else:\n",
+    "    print(\"Las variables son de tipos diferentes\")\n"
+   ]
   },
   {
    "attachments": {},
@@ -48,10 +82,43 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 16,
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "1 es impar\n",
+      "2 es par\n",
+      "3 es impar\n",
+      "4 es par\n",
+      "5 es impar\n",
+      "6 es par\n",
+      "7 es impar\n",
+      "8 es par\n",
+      "9 es impar\n",
+      "10 es par\n",
+      "11 es impar\n",
+      "12 es par\n",
+      "13 es impar\n",
+      "14 es par\n",
+      "15 es impar\n",
+      "16 es par\n",
+      "17 es impar\n",
+      "18 es par\n",
+      "19 es impar\n",
+      "20 es par\n"
+     ]
+    }
+   ],
+   "source": [
+    "for i in range(1, 21):\n",
+    "    if i % 2 == 0:\n",
+    "        print(f\"{i} es par\")\n",
+    "    else:\n",
+    "        print(f\"{i} es impar\")"
+   ]
   },
   {
    "attachments": {},
@@ -63,10 +130,27 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 2,
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "0\n",
+      "1\n",
+      "8\n",
+      "27\n",
+      "64\n",
+      "125\n"
+     ]
+    }
+   ],
+   "source": [
+    "numeros = [0, 1, 2, 3, 4, 5]\n",
+    "for i in numeros:\n",
+    "    print(i ** 3 )\n"
+   ]
   },
   {
    "attachments": {},
@@ -78,10 +162,26 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 18,
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "Iteración 1 de 5\n",
+      "Iteración 2 de 5\n",
+      "Iteración 3 de 5\n",
+      "Iteración 4 de 5\n",
+      "Iteración 5 de 5\n"
+     ]
+    }
+   ],
+   "source": [
+    "ciclos = 5\n",
+    "for i in range(ciclos):\n",
+    "    print(f\"Iteración {i + 1} de {ciclos}\")"
+   ]
   },
   {
    "attachments": {},
@@ -93,10 +193,19 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 1,
    "metadata": {},
    "outputs": [],
-   "source": []
+   "source": [
+    "factorial = 9\n",
+    "if factorial > 0:\n",
+    "    for i in range(1, factorial + 1):\n",
+    "        if i == 1:\n",
+    "            resultado = 1\n",
+    "        else:\n",
+    "            resultado *= i\n",
+    "    "
+   ]
   },
   {
    "attachments": {},
@@ -220,11 +329,8 @@
   }
  ],
  "metadata": {
-  "interpreter": {
-   "hash": "c85384e4cb51c8b72350f3a8712cc8351fdc3955e32a27f9b60c6242ab125f01"
-  },
   "kernelspec": {
-   "display_name": "Python 3 (ipykernel)",
+   "display_name": "Python 3",
    "language": "python",
    "name": "python3"
   },
@@ -238,7 +344,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.10.6"
+   "version": "3.13.5"
   }
  },
  "nbformat": 4,

From 0461151f19353897a9c1ca4ecaf7bb249446854f Mon Sep 17 00:00:00 2001
From: oscartazxx~ <oscarj.jaramillo@outlook.com>
Date: Mon, 14 Jul 2025 07:43:11 -0500
Subject: [PATCH 3/9] commit

---
 .../Prep_Course_Homework_03.ipynb             | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/M03_variablesydatos/Prep_Course_Homework_03.ipynb b/M03_variablesydatos/Prep_Course_Homework_03.ipynb
index fb47db1a1..3e9699b05 100644
--- a/M03_variablesydatos/Prep_Course_Homework_03.ipynb
+++ b/M03_variablesydatos/Prep_Course_Homework_03.ipynb
@@ -18,7 +18,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 1,
+   "execution_count": 2,
    "metadata": {},
    "outputs": [
     {
@@ -44,7 +44,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 2,
+   "execution_count": 3,
    "metadata": {},
    "outputs": [
     {
@@ -94,11 +94,20 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
+   "execution_count": 6,
    "metadata": {},
-   "outputs": [],
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "oscar jaramillo\n"
+     ]
+    }
+   ],
    "source": [
-    "nombre = \"oscar\""
+    "nombre = \"oscar jaramillo\"\n",
+    "print(nombre)"
    ]
   },
   {

From 32f6360824db8e4fcc3393931ab40eabc0ee85d4 Mon Sep 17 00:00:00 2001
From: oscartazxx~ <oscarj.jaramillo@outlook.com>
Date: Mon, 14 Jul 2025 07:43:11 -0500
Subject: [PATCH 4/9] =?UTF-8?q?Actualizar=20los=20contadores=20de=20ejecuc?=
 =?UTF-8?q?i=C3=B3n=20en=20el=20cuaderno=20de=20tareas=20de=20Python?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../Prep_Course_Homework_03.ipynb             | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/M03_variablesydatos/Prep_Course_Homework_03.ipynb b/M03_variablesydatos/Prep_Course_Homework_03.ipynb
index fb47db1a1..3e9699b05 100644
--- a/M03_variablesydatos/Prep_Course_Homework_03.ipynb
+++ b/M03_variablesydatos/Prep_Course_Homework_03.ipynb
@@ -18,7 +18,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 1,
+   "execution_count": 2,
    "metadata": {},
    "outputs": [
     {
@@ -44,7 +44,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 2,
+   "execution_count": 3,
    "metadata": {},
    "outputs": [
     {
@@ -94,11 +94,20 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 5,
+   "execution_count": 6,
    "metadata": {},
-   "outputs": [],
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "oscar jaramillo\n"
+     ]
+    }
+   ],
    "source": [
-    "nombre = \"oscar\""
+    "nombre = \"oscar jaramillo\"\n",
+    "print(nombre)"
    ]
   },
   {

From 7f968e65f962252bd762716da4cc515699bf6901 Mon Sep 17 00:00:00 2001
From: oscartazxx~ <oscarj.jaramillo@outlook.com>
Date: Mon, 14 Jul 2025 07:54:36 -0500
Subject: [PATCH 5/9] otros

---
 M03_variablesydatos/Prep_Course_Homework_03.ipynb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/M03_variablesydatos/Prep_Course_Homework_03.ipynb b/M03_variablesydatos/Prep_Course_Homework_03.ipynb
index 3e9699b05..21ce956d7 100644
--- a/M03_variablesydatos/Prep_Course_Homework_03.ipynb
+++ b/M03_variablesydatos/Prep_Course_Homework_03.ipynb
@@ -120,7 +120,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 6,
+   "execution_count": 7,
    "metadata": {},
    "outputs": [],
    "source": [
@@ -137,7 +137,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 7,
+   "execution_count": 8,
    "metadata": {},
    "outputs": [
     {

From 5677b289497cbf79c4391a80d385a19c61219650 Mon Sep 17 00:00:00 2001
From: oscartazxx <oscarj.jaramillo@outlook.com>
Date: Sun, 20 Jul 2025 18:24:28 -0500
Subject: [PATCH 6/9] =?UTF-8?q?Configuraci=C3=B3n=20de=20pytest=20agregada?=
 =?UTF-8?q?=20en=20settings.json?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .vscode/settings.json | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 .vscode/settings.json

diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 000000000..fdb443e06
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,7 @@
+{
+    "python.testing.pytestArgs": [
+        "M02_introprogramación"
+    ],
+    "python.testing.unittestEnabled": false,
+    "python.testing.pytestEnabled": true
+}
\ No newline at end of file

From b8e617864312cfc8563a728b0bb0e82be7986192 Mon Sep 17 00:00:00 2001
From: oscartazxx~ <oscarj.jaramillo@outlook.com>
Date: Mon, 21 Jul 2025 17:17:42 -0500
Subject: [PATCH 7/9] commit

---
 .../Prep_Course_Homework_04.ipynb             | 20 +++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb b/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
index 20abf2897..71860525f 100644
--- a/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
+++ b/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
@@ -193,9 +193,24 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 1,
+   "execution_count": 3,
    "metadata": {},
-   "outputs": [],
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "2\n",
+      "6\n",
+      "24\n",
+      "120\n",
+      "720\n",
+      "5040\n",
+      "40320\n",
+      "362880\n"
+     ]
+    }
+   ],
    "source": [
     "factorial = 9\n",
     "if factorial > 0:\n",
@@ -204,6 +219,7 @@
     "            resultado = 1\n",
     "        else:\n",
     "            resultado *= i\n",
+    "            print(resultado)\n",
     "    "
    ]
   },

From dd7d226a60575abda8a6dde00d9e67b58ea0c999 Mon Sep 17 00:00:00 2001
From: oscartazxx <oscarj.jaramillo@outlook.com>
Date: Mon, 21 Jul 2025 17:30:52 -0500
Subject: [PATCH 8/9] Ciclo for

---
 .../Prep_Course_Homework_04.ipynb             | 36 +++++++++++++++----
 1 file changed, 30 insertions(+), 6 deletions(-)

diff --git a/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb b/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
index 71860525f..cd0df68e3 100644
--- a/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
+++ b/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
@@ -193,7 +193,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": 3,
+   "execution_count": 2,
    "metadata": {},
    "outputs": [
     {
@@ -219,7 +219,7 @@
     "            resultado = 1\n",
     "        else:\n",
     "            resultado *= i\n",
-    "            print(resultado)\n",
+    "            print (resultado)\n",
     "    "
    ]
   },
@@ -235,8 +235,32 @@
    "cell_type": "code",
    "execution_count": null,
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "4\n",
+      "4\n",
+      "4\n",
+      "4\n",
+      "3\n",
+      "3\n",
+      "3\n",
+      "2\n",
+      "2\n",
+      "1\n"
+     ]
+    }
+   ],
+   "source": [
+    "variable = 4\n",
+    "while variable > 0:\n",
+    "    for i in range(1, variable + 1):\n",
+    "        print(variable)\n",
+    "    variable -= 1\n",
+    "\n"
+   ]
   },
   {
    "attachments": {},
@@ -346,7 +370,7 @@
  ],
  "metadata": {
   "kernelspec": {
-   "display_name": "Python 3",
+   "display_name": ".venv",
    "language": "python",
    "name": "python3"
   },
@@ -360,7 +384,7 @@
    "name": "python",
    "nbconvert_exporter": "python",
    "pygments_lexer": "ipython3",
-   "version": "3.13.5"
+   "version": "3.12.3"
   }
  },
  "nbformat": 4,

From c5f1e1a3391421b03951c970027008bbbcc5994b Mon Sep 17 00:00:00 2001
From: oscartazxx <oscarj.jaramillo@outlook.com>
Date: Sun, 27 Jul 2025 19:41:07 -0500
Subject: [PATCH 9/9] Prueba Python

---
 .../Prep_Course_Homework_04.ipynb             | 27 ++++++++++++++++---
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb b/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
index cd0df68e3..6558e7803 100644
--- a/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
+++ b/M04_flujosdecontrol/Prep_Course_Homework_04.ipynb
@@ -233,7 +233,7 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 1,
    "metadata": {},
    "outputs": [
     {
@@ -272,10 +272,29 @@
   },
   {
    "cell_type": "code",
-   "execution_count": null,
+   "execution_count": 10,
    "metadata": {},
-   "outputs": [],
-   "source": []
+   "outputs": [
+    {
+     "name": "stdout",
+     "output_type": "stream",
+     "text": [
+      "El número 0 es menor que 5\n",
+      "El número 1 es menor que 5\n",
+      "El número 2 es menor que 5\n",
+      "El número 3 es menor que 5\n",
+      "El número 4 es menor que 5\n"
+     ]
+    }
+   ],
+   "source": [
+    "for i in range(1, 2): \n",
+    "    j = 0\n",
+    "    while j < 5:\n",
+    "        print(f\"El número {j} es menor que 5\")\n",
+    "        j += 1\n",
+    "\n"
+   ]
   },
   {
    "attachments": {},
