Timeline for pset6 credit.py returns INVALID for correct card number
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2018 at 1:31 | comment | added | Prav Elan | Oh! I think I got it. Thanks a lot :) | |
Jun 6, 2018 at 0:30 | comment | added | curiouskiwi♦ |
@PravElan if firstTwoDigits == 34 or 37: this does not do what you expect.
|
|
Jun 4, 2018 at 5:43 | comment | added | Prav Elan | Thanks for your help, I understood where I went wrong. My code is now able to correctly recognise AMEX card numbers but not Master or VISA. What mistake in my code may have caused this? | |
Jun 4, 2018 at 5:42 | vote | accept | Prav Elan | ||
Jun 3, 2018 at 9:42 | history | answered | curiouskiwi♦ | CC BY-SA 4.0 |