From a007ec07c49b430fd12d287077c375eaeee0dd00 Mon Sep 17 00:00:00 2001 From: Rotem Kassif Date: Tue, 7 Nov 2023 16:13:49 +0200 Subject: [PATCH] Fixed the number --- Lists-p-B.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lists-p-B.ipynb b/Lists-p-B.ipynb index 604f081..8aa93b8 100644 --- a/Lists-p-B.ipynb +++ b/Lists-p-B.ipynb @@ -19,7 +19,7 @@ "metadata": {}, "outputs": [], "source": [ - "studentList = [str(input('Enter a student name: ')) for i in range(3)]\n", + "studentList = [str(input('Enter a student name: ')) for i in range(8)]\n", "print(\"You can't be assigned to this class\") if (newStudent := studentList.count(str(input(\"Enter the new student's name: \")))) else studentList.append(newStudent)" ] },