16
tokareva.anastasiya.tch
3 12 31
1272/ 1445
Анастасія Токарева
Last seen 3 months ago
Member for 3 years, 6 months, 20 days
Difficulty Normal
Best reviews / Newest reviews
First-gaetan.renault76 1
A rather creative approach to the task! Makes the solution fast and clear indeed More
First-isabelle1122 1
Great solution! Congrats on handling it so greatly! More
list access with step, then sum up.-koborC 1 1
Nice job making it clear and effective More
First-jro
Great code, nice use of arrays. Very clear code. More
First-revent82
Great job, this is a perfect code! More
First-ezw
Hi! Great job solving the task! More
lambda one-liner-JBarCode37
Congrats! You have mastered the art of writing the shortest code ever. Looks cool! More
Sum in range(0,len(array),2)-jurak2012
Quite a unique solution, but a very logical and algorhythmical one. Good job More
First-becky 1
A beautiful code, great job, though it seems a bit flooded with details. I can't understand French comments, but looks good More
First-rebecca.yc.li
Nice code! If you want to, you can also shorten your code by using sorted() function: return sorted(values, key=lambda x: abs(x)) This way you don't have to first sort the values and only then return. More
First-maksim3140874
Hi! Nice code! You can simplify it by using string.digits method instead of writing your own digit string: import string digits = string.digits More
First-pupo
Hi! Nice thinking! You can actually solve this by using the string.digits method or checking if val.is_digit(). More
First-daisuke.inoue 1
Hi! Nice code. If you want to, you can actually shorten it by using the return statement inside of your try and except clauses like this: try: return array[n] ** n except IndexError: return -1 More
End for loop if ... and return-jurak2012
A great code and usage of counters! Looks very organized and effective. More
First-RoboticReaper 1
Really nice code, but the missing spaces between the operators make it a bit hard to read. Good job More