Nov. 13, 2018, 12:56 p.m. |
+ 2 |
for
First-kyle.barboza7
|
Nov. 13, 2018, 11:29 a.m. |
+ 3 |
for
Fifth-tom-tom_f993b3abc4814d4cb5476e
|
Jan. 8, 2016, 10:37 a.m. |
+ 2 |
for
Stackless-blabaster
|
Jan. 7, 2016, 8:59 a.m. |
+ 2 |
for
max-count-bryukh
|
Jan. 7, 2016, 8:56 a.m. |
+ 1 |
for Comment
bryukh: "key" is not an ordering function. It does not like to Java or JS, where we use "compare" function. ...
|
Jan. 5, 2016, 11:58 a.m. |
+ 2 |
for
First-Renelvon
|
Dec. 13, 2015, 12:22 p.m. |
+ 1 |
for
eiji-eiji
|
Dec. 13, 2015, 12:59 a.m. |
+ 2 |
for
set-gyahun_dash
|
Dec. 12, 2015, 4:01 a.m. |
+ 1 |
for Comment
alex.rychik: return 'Building({}... it's hardcoded style. The best way to use self.__class__.__name__
|
Dec. 12, 2015, 2 a.m. |
+ 2 |
for
First-Sim0000
|
Dec. 11, 2015, 10:31 a.m. |
+ 2 |
for
Double loop-bryukh
|
Dec. 11, 2015, 10:30 a.m. |
+ 1 |
for Comment
bryukh: Yep, if inside "for"s we didn't return True, then after upper "for" we return False, because there n...
|
Dec. 11, 2015, 10:29 a.m. |
+ 1 |
for Comment
kozino: Hi. This is not necessary: (w1.endswith(w2) or w2.endswith(w1)). This will be enough: w1.endswith(w2...
|
Dec. 11, 2015, 7:25 a.m. |
+ 2 |
for
First-Gennady
|
Dec. 11, 2015, 7:06 a.m. |
+ 2 |
for
Hinted-veky
|
Dec. 11, 2015, 4:45 a.m. |
+ 1 |
for Comment
veky: Again, `set` has many nice operations. For example, `<=` (subset). ;-) Also, don't write 'abcdefghij...
|
Dec. 11, 2015, 4:39 a.m. |
+ 2 |
for
First-dagger126
|
Dec. 11, 2015, 4:17 a.m. |
+ 1 |
for Post
where to start?
|
Dec. 10, 2015, 5:25 a.m. |
+ 2 |
for
The Key-bryukh
|
Dec. 9, 2015, 7:20 a.m. |
+ 2 |
for
Intersection-bryukh
|
Dec. 8, 2015, 12:27 p.m. |
+ 1 |
for Comment
zero_loss: I also found the following to be good resources for a beginner. 1. [Python the Hardway](http://learn...
|
Dec. 8, 2015, 12:23 p.m. |
+ 1 |
for
First-penguinland
|
Dec. 8, 2015, 10:37 a.m. |
+ 1 |
for Comment
bukebuer: It equals to: def count_inversion(sequence): count = 0 for i,n in enumerate(sequence): # for every n...
|
Dec. 7, 2015, 11:44 a.m. |
+ 1 |
for
First-mr.floppy
|
Dec. 7, 2015, 8:44 a.m. |
+ 1 |
for Comment
veky: You can multiply str and list and tuple, why not bool? :-] But really, this is even much simpler tha...
|
Dec. 7, 2015, 7:26 a.m. |
+ 1 |
for
First-gcampfield
|
Dec. 7, 2015, 5:17 a.m. |
+ 1 |
for Comment
matlex_e92656adfca8491aac435b0: I mean there's no need to use "else". Sorry for confusing :) Just enough: def checkio(number): """ C...
|
Dec. 7, 2015, 5:17 a.m. |
+ 1 |
for
Convert and Iterate-bryukh
|
Dec. 6, 2015, 11:33 a.m. |
+ 1 |
for Comment
Fedorovich: Start reading from the end of sum(w in text.lower() for w in words) 1. for w in words - takes the wo...
|
Dec. 6, 2015, 11:31 a.m. |
+ 1 |
for Comment
Sim0000: At the case of count_words("Bananas, give me bananas!!!", {"banana", "bananas"}), at 1st step, w = '...
|
Dec. 6, 2015, 11:16 a.m. |
+ 1 |
for Comment
MarkVickers: Clearer than the lambda version for me
|
Dec. 6, 2015, 11:15 a.m. |
+ 1 |
for
First-gyahun_dash
|
Dec. 5, 2015, 10:36 a.m. |
+ 1 |
for
First-Sim0000
|
Dec. 5, 2015, 7:19 a.m. |
+ 1 |
for
First-monkshorin
|
Dec. 3, 2015, 12:12 p.m. |
+ 1 |
for
First-Hanna_Hofman
|