From 590967f7671ff623960bad2a1c6e339418b8eb2b Mon Sep 17 00:00:00 2001 From: gsingh58 <gurmail-singh@wisc.edu> Date: Fri, 29 Sep 2023 00:44:29 -0500 Subject: [PATCH] in the last cell of lecture-10 two lines are commented --- .../10_Iteration-1/lec_10_Iteration_1.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/f23/Gurmail_Lecture_Notes/10_Iteration-1/lec_10_Iteration_1.ipynb b/f23/Gurmail_Lecture_Notes/10_Iteration-1/lec_10_Iteration_1.ipynb index f034eab..9fbc581 100644 --- a/f23/Gurmail_Lecture_Notes/10_Iteration-1/lec_10_Iteration_1.ipynb +++ b/f23/Gurmail_Lecture_Notes/10_Iteration-1/lec_10_Iteration_1.ipynb @@ -543,7 +543,7 @@ ], "source": [ "print(\"Prime numbers:\")\n", - "number = 2\n", + "# number = 2 # for the while loop\n", "# TODO: comment out this while loop and write equivalent for loop using range\n", "#while number <= 50: \n", "for number in range(2, 51):\n", @@ -551,7 +551,7 @@ " print(number, \"is prime\")\n", " else:\n", " print(number, \"is not prime\")\n", - " number += 1" + "# number += 1 # for the while loop" ] }, { -- GitLab