File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
exercises/practice/luhn/.approaches
replace-reverse-enumerate Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Luhn:
2929
3030```
3131
32- The ` Luhn ` object is initialzed with the ` card_num ` value, which is the number to be validated with the Luhn algorithm.
32+ The ` Luhn ` object is initialized with the ` card_num ` value, which is the number to be validated with the Luhn algorithm.
3333The result of the validation is returned from ` Luhn ` 's ` valid() ` method.
3434In this approach, a member variable is set to the result of running the Luhn algorithm.
3535That variable is returned from the ` valid() ` method.
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Luhn:
2929
3030```
3131
32- The ` Luhn ` object is initialzed with the ` card_num ` value, which is the number to be validated with the Luhn algorithm.
32+ The ` Luhn ` object is initialized with the ` card_num ` value, which is the number to be validated with the Luhn algorithm.
3333The result of the validation is returned from ` Luhn ` 's ` valid() ` method.
3434In this approach, a member variable is set to the result of running the Luhn algorithm.
3535That variable is returned from the ` valid() ` method.
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class Luhn:
3030
3131```
3232
33- The ` Luhn ` object is initialzed with the ` card_num ` value, which is the number to be validated with the Luhn algorithm.
33+ The ` Luhn ` object is initialized with the ` card_num ` value, which is the number to be validated with the Luhn algorithm.
3434The result of the validation is returned from ` Luhn ` 's ` valid() ` method.
3535In this approach, a member variable is set to the result of running the Luhn algorithm.
3636That variable is returned from the ` valid() ` method.
You can’t perform that action at this time.
0 commit comments