New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update description for Step 1 of the Luhn Algorithm project #54733
Comments
Hi @zairahira , This is my first time contributing to an open-source project, so I want to clarify the issue. In addition to mentioning that main() is the starting point of program execution should the description also mention Python's unique approach, where the main() function isn't mandatory due to the name convention but including it provides context to those coming from languages where it is? |
Hi @MohamedRahimm, this is the first time |
Sorry for the repeated references I messed up quite a bit trying to create a pull request😓 |
Unless you mention the if statement for |
I think mentioning Start by declaring a function called |
After reviewing the discussion, this updated description would be good to go: In this project, you will implement the Luhn Algorithm. This algorithm is a formula to validate a variety of identification numbers.
Start by declaring a function called `main`, this will serve as the entry point of the program. Use the `pass` keyword to avoid an error. |
Describe the Issue
The
main()
function needs to elaborated. It is used through out in the curriculum and this is a good place to define whatmain()
is intended for in Python.The description should mention:
main()
is the starting point of program execution.Any other addition can be discussed in the discussion.
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-1
Your code
Expected behavior
see explanation above
Screenshots
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: