Skip to content

Commit

Permalink
Fixed the number
Browse files Browse the repository at this point in the history
  • Loading branch information
Meteoroetem committed Nov 7, 2023
1 parent 365a48d commit a007ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lists-p-B.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
]
},
Expand Down

0 comments on commit a007ec0

Please sign in to comment.