Feb. 25, 2019, 6:27 a.m. |
+ 1 |
for Comment
arthurdias-trad: I like the use of groupby, but why did you separate it into a helper function?
|
July 16, 2018, 8:47 a.m. |
+ 1 |
for Comment
veky: You're aware that you wrote the same thing three times? :-)
|
July 7, 2018, 1:27 p.m. |
+ 1 |
for Comment
Marlen_Nurmakov: Why do you need to check type?
|
Feb. 22, 2017, 6:54 p.m. |
+ 1 |
for Comment
Lumy: You could have simply wrote the position in an array and do only of loop (could even do and comprehe...
|
June 8, 2015, 8:14 a.m. |
+ 1 |
for Comment
Macondo: If you use str(number) instead of list(str(number)) it will work the same, as a string can be iterab...
|
April 14, 2015, 10 a.m. |
+ 1 |
for Comment
suic: Hi, look at __collections.Counter__.
|
Feb. 11, 2015, 12:30 p.m. |
+ 1 |
for Comment
suic: Hi, I see that this is an older solution, but let me have some comments. I understand your approach ...
|
Feb. 11, 2015, 12:29 p.m. |
+ 1 |
for Comment
suic: Hi, you could write: t1, t2 = map(int, time.split(":")) instead of line 2-4.
|
Feb. 11, 2015, 11:59 a.m. |
+ 1 |
for Comment
NathanBlack: I like the dictionary comprehension, but you can skip a lot of that with just doing a list comprehen...
|