32
Mindaugas D.
Last seen 1 month ago
Member for 6 years, 6 months, 19 days
Difficulty Normal
Very clear. Yet channelIndexOn variable name could have been shorter :D
More
I would recommend start using build-in python functions to make your code
more readable. For instance, in line 14 you could just write "if lst:"
instead of calling len() function. Also, if you want to take it further,
then your length(lst) function could just have been like:
s = sum(map(lambda n
More
Nice solution, yet too many comments for those, who already solved it.
More
I like that you commented about every function as in such long code it can be difficult to understand how elements of it interact.
More
I think you could have made a simpler solution to this. Also, excessive explanations (keep in mind, your readers have solved this mission)
More
Nice code. Though you could have replaced three statements in line 9 with one statement, for instance: if max(a,b,c) >= sum(a,b,c) - max(a,b,c)
More
Clear, but you could have simplified it to less cases (for instance
amounting to length by reading everything to left from ':' and reading
minutes as two symbols after ':'
More
For publishing it is recommended to delete useless comments and asserts (we already know it passed tests if you are publishing it).
More
Very well writen. For future I would recommend adjusting indentation (lines
3 and 5) and deleting asserts before publishing.
More
Good solution, next time it could be more readable if you have removed asserts.
More
Good solution, next time it could be more readable if you have removed asserts.
More
Good solution, next time it could be more readable if you have removed asserts.
More
For publishing it is recommended to delete useless comments and asserts (we already know it passed tests if you are publishing it).
More
For publishing it is recommended to delete useless comments and asserts (we already know it passed tests if you are publishing it).
More