SCWP(Beta) - Learn Classes and Objects by Building a Sudoku Solver - Step 73: Accepting wrong solution #54886
Labels
new python course
scope: curriculum
Lessons, Challenges, Projects and other Curricular Content in curriculum directory.
status: PR in works
Work in Progress (WIP) Issues.
type: bug
Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.
Describe the Issue
The step asks for a list comprehension, but the following code is accepted as a solution (with parenthesis):
row_str = (str(i) for i in row)
Affected Page
https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-classes-and-objects-by-building-a-sudoku-solver/step-73
Your code
Expected behavior
I believe the step must only accept the list comprehension with square brackets []:
row_str = [str(i) for i in row]
Screenshots
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: