You're right, the program can be written in many ways, but they simplify some of the calculations.
Neat! Never even thought about this
it makes it understandable for me, though, since i'm quite a beginner haha.
it is necessary otherwise for empty list it will return [0,0] rather than []
very concise solution, nice work.
yeah, O(n)
i didnt know you could chain strings like that without using +, interesting
This comment is hidden because it contains spoiler information about the solution
walrus operator was completely useless here... it didn't make code any shorter lol
clever
yes, if you use regex or translate
good to know you can double unpack dictionaries
great minds think alike :)
silly silly boy, this is very slow. luckly for you, this is not a performance kata
Loading collection data...
You're right, the program can be written in many ways, but they simplify some of the calculations.
Neat! Never even thought about this
it makes it understandable for me, though, since i'm quite a beginner haha.
it is necessary otherwise for empty list it will return [0,0] rather than []
very concise solution, nice work.
yeah, O(n)
i didnt know you could chain strings like that without using +, interesting
This comment is hidden because it contains spoiler information about the solution
walrus operator was completely useless here... it didn't make code any shorter lol
clever
yes, if you use regex or translate
good to know you can double unpack dictionaries
great minds think alike :)
This comment is hidden because it contains spoiler information about the solution
silly silly boy, this is very slow. luckly for you, this is not a performance kata
Loading more items...