Test too strict in step 27 of Luhn Algorithm project #54506
Labels
help wanted
Open for all. You do not need permission to work on these.
new python course
scope: curriculum
Lessons, Challenges, Projects and other Curricular Content in curriculum directory.
type: bug
Issues that need priority attention. Platform, Curriculum tests (if broken completely), etc.
Describe the Issue
The test for this step requires to add spaces around the comparison operator:
Affected Page
https://www.freecodecamp.org/learn/scientific-computing-with-python/learn-how-to-work-with-numbers-and-strings-by-implementing-the-luhn-algorithm/step-27
Your code
Expected behavior
The test should pass even when there's no space around
>=
.Screenshots
No response
System
Additional context
It would be nice to rewrite the test using the new ast-based helpers.
The text was updated successfully, but these errors were encountered: