Timeline for Simple credit card validation with Luhn's Algorithm
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 19 at 17:04 | comment | added | Harith | It wouldn't be so "abysmal" if you'd store the credit card in a string, as you should have. | |
Mar 19 at 11:18 | answer | added | gazoh | timeline score: 2 | |
Sep 17, 2021 at 23:06 | answer | added | N3buchadnezzar | timeline score: 4 | |
Sep 14, 2021 at 20:08 | comment | added | Reinderien |
It's a better idea to have a main , to promote code reusability and keep the global namespace clean. So that answer from February was a little hasty and should ideally have one.
|
|
Sep 14, 2021 at 19:55 | comment | added | flamethrower10 |
@Reinderien I see that you have no main() function in your implementation. Coming from C, I still find it hard not to put one. What, in your opinion, is more Pythonic? Or does that not matter at all (i.e. does not affect performance and readability)?
|
|
Sep 14, 2021 at 14:58 | comment | added | Reinderien | Suggested reading: codereview.stackexchange.com/questions/256078/… | |
Sep 14, 2021 at 7:59 | history | edited | 200_success | CC BY-SA 4.0 |
edited tags; edited title; edited title
|
Sep 13, 2021 at 4:32 | vote | accept | flamethrower10 | ||
Sep 13, 2021 at 2:06 | answer | added | C.Nivs | timeline score: 5 | |
Sep 12, 2021 at 20:57 | history | asked | flamethrower10 | CC BY-SA 4.0 |