Timeline for Detect the Nearly Perfect Licence Plates
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 25, 2017 at 6:24 | history | edited | 0xffcourse | CC BY-SA 3.0 | deleted 36 characters in body |
| Apr 13, 2017 at 12:39 | history | edited | CommunityBot | replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/ | |
| Apr 10, 2017 at 3:32 | history | edited | 0xffcourse | CC BY-SA 3.0 | added 146 characters in body |
| Apr 10, 2017 at 3:18 | history | edited | 0xffcourse | CC BY-SA 3.0 | added 3 characters in body |
| Apr 10, 2017 at 3:14 | comment | added | 0xffcourse | Check the newer version... I have added a new flag variable 'p' to decide whether or not to multiply the sum of digits. | |
| Apr 10, 2017 at 3:11 | history | edited | 0xffcourse | CC BY-SA 3.0 | added 185 characters in body |
| Apr 10, 2017 at 3:03 | comment | added | 0xffcourse | Apparently, my code shows false positive for any string with isolated zeros in it ( 3A0B is also shown true )... Thanks for pointing that out @JonathanAllan. I will try to fix it. | |
| Apr 10, 2017 at 2:54 | history | edited | 0xffcourse | CC BY-SA 3.0 | added 205 characters in body |
| Apr 9, 2017 at 17:29 | comment | added | Jonathan Allan | You don't need a, just use for x in input():. You can have false positives for plates ending with a string of zeros (e.g. 11AA00), since the final m*=t is not executed. | |
| Apr 9, 2017 at 17:22 | comment | added | shooqie | from math import* is shorter | |
| Apr 8, 2017 at 17:28 | history | answered | 0xffcourse | CC BY-SA 3.0 |