Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
Cjkjvfnby: **if seq** will call seq.\_\_len\_\_(), it will return integer, integer will be converted to bool. T...
|
Nov. 23, 2017, 1:44 p.m. |
+ 1 |
for Comment
Cjkjvfnby: **append** return None it mutates list. x, y = random.choice(opencells) return [False, x, y] # but t...
|
Jan. 22, 2016, 3:20 p.m. |
+ 1 |
for Comment
veky: It's nice and all, but haven't you overengineered it a bit? :-) The board has 64 squares, not a mill...
|
Jan. 22, 2016, 3:20 p.m. |
+ 2 |
for
A*, Empirically Improved Heuristic-PositronicLlama
|
Jan. 22, 2016, 1:23 p.m. |
+ 1 |
for
__-Cjkjvfnby
|
Jan. 21, 2016, 12:32 p.m. |
+ 2 |
for
3 steps-DiZ
|
Jan. 20, 2016, 2:45 p.m. |
+ 1 |
for
First-baozhao123
|
May 4, 2015, 5:14 p.m. |
+ 1 |
for Comment
wujie: That's neat!
|
March 10, 2015, 8:01 p.m. |
+ 1 |
for Comment
FlorisLambrechts: I'm a big proponent of the max() function, so that lines 10 and 11 become a one-liner: max_amount = ...
|
Feb. 19, 2015, 7:08 p.m. |
+ 1 |
for Comment
bryukh: Nice. "min" is funny.
|
Dec. 9, 2014, 8:19 a.m. |
+ 1 |
for Comment
NerdAlert1101: Thank you, although there was method to my madness, but, I shall bookmark your point for future use....
|
Dec. 3, 2014, 11:55 p.m. |
+ 3 |
for
First-bukebuer
|
Dec. 2, 2014, 3:11 p.m. |
+ 2 |
for
First-agdk26
|
Aug. 21, 2014, 7:50 p.m. |
+ 1 |
for Comment
veky: Imagine you have a list x of million items. What does x.pop(0) do? * it returns x[0] * it sets x[0] ...
|
Aug. 21, 2014, 4:39 p.m. |
+ 2 |
for
Minimal-BertrandBordage
|
April 15, 2014, 3:24 p.m. |
+ 1 |
for Comment
Cjkjvfnby: You right, I missed third loop. If you change data container from list of list to flat list, you wil...
|
March 28, 2014, 9 a.m. |
+ 4 |
for
3rd FizzBuzz_51-turtle51
|
March 25, 2014, 9:46 a.m. |
+ 2 |
for
Front To Back-DanielDou
|