16
gamer133
1 8 21
1062/ 1445
Florent Colombet
Last seen 1 year ago
Member for 11 years, 14 days
Difficulty Normal
Best reviews / Newest reviews
Second-vhtien1986 2 2
Nice solution :) You can improve it a bit more by replacing : - "e in 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'" by "e.isalnum()" - "chr((10-(sd%10) if sd%10 else 0)+48)" by "str(10-(sd%10))[-1]" - and eventually "s[::-1]" by "reversed(s)" for being clearer (but longer t More
First-Bibiche 1 1
Nice solution :) However the case N == 2 is unnecessary !! Lines 9 and 10 can be removed and the code still works. More
Pffiouu-gamer133 1
Glad that the bugs I reported could have been fixed and then improve the task. Even with those bugs I had a good time solving it ! More
First-Amachua 1 1
The getNumber function already exists in Python : int(x, base) More
Loops-contrebasse 1
I think you can replace area == 'G' or area == 'S' by area in 'GS' More