May 23, 2013, 2:40 a.m. |
+ 1 |
for Comment
blackfaced: but it says if we can not to determine the order for several symbols -- use latin alphabetical order...
|
May 23, 2013, 12:46 a.m. |
+ 1 |
for Comment
PositronicLlama: What if the words are ["aec", "db"]? I can see an argument for "adbec" or "aecdb" or "adebc".
|
May 22, 2013, 9:27 p.m. |
+ 2 |
for
First-Bilou06
|
May 22, 2013, 9:27 p.m. |
+ 4 |
for
First-Kurush
|
May 22, 2013, 9:26 p.m. |
+ 1 |
for
First-scturtle
|
May 22, 2013, 9:25 p.m. |
+ 1 |
for
First-scottmiao
|
May 22, 2013, 9:25 p.m. |
+ 2 |
for
First-froggy1
|
May 22, 2013, 9:25 p.m. |
+ 1 |
for
First-Bibiche
|
May 22, 2013, 9:24 p.m. |
+ 2 |
for
First-agdk26
|
May 22, 2013, 9:24 p.m. |
+ 3 |
for
First-Cairnarvon
|
May 22, 2013, 9:23 p.m. |
+ 2 |
for
Happy swapping!-Moonra
|
May 22, 2013, 9:20 p.m. |
+ 2 |
for
First-kvas
|
May 22, 2013, 9:20 p.m. |
+ 1 |
for
Shorter-kvas
|
May 19, 2013, 10:53 a.m. |
+ 1 |
for Comment
suwanditan: The idea is to discerne presence of special class member ( or classes in the future ), we need a sym...
|
May 19, 2013, 12:19 a.m. |
+ 1 |
for Comment
evmyzgin: return (lambda r: r if r else 'zero')(' '.join(filter(lambda p: p, [(spe.get(d.get(2)), 'hundred'*bo...
|
May 17, 2013, 7:51 p.m. |
+ 1 |
for Post
Welcome to the Improvement Team!
|
May 17, 2013, 7:50 p.m. |
+ 1 |
for Comment
oduvan: Hi everyone! I'm Alex. I'm from Ukraine and I'm CTO and Co-Founder CheckiO. But now we are in Boston...
|
May 17, 2013, 7:50 p.m. |
+ 1 |
for Comment
kvas: Hi, my name is Vasily. I'm from Russia too. I've used Python for more than 10 years, mostly doing we...
|
May 17, 2013, 7:50 p.m. |
+ 1 |
for Comment
Bibiche: Hi! My name is Katia, and I am French. I am a very beginner at computing, and I have discovered Pyth...
|
May 17, 2013, 7:50 p.m. |
+ 1 |
for Comment
suwanditan: Hi, all. My name is Suwandi and I live in Jakarta, Indonesia. I have a bit of experience using Pytho...
|
May 16, 2013, 7:57 a.m. |
+ 2 |
for
the latest-artemrudenko
|
May 14, 2013, 10:05 p.m. |
+ 1 |
for Comment
kvas: Ok, after looking at other solutions, I'd rename mine to "Simple-minded cheating" :)
|
May 13, 2013, 2:39 a.m. |
+ 1 |
for Comment
Summer_Alex: I think it's my fault, I used a global variable in my terminal.
|
May 11, 2013, 10:43 p.m. |
+ 3 |
for
BuildAndDijkstraAmended-Miaou
|
May 11, 2013, 10:58 a.m. |
+ 1 |
for Comment
laven: i think loop is not really needed , because , we can calculate it directly
|
May 10, 2013, 5:25 a.m. |
+ 1 |
for
First-rkhatri
|
May 8, 2013, 12:54 p.m. |
+ 3 |
for
First-czert
|
May 7, 2013, 6:28 p.m. |
+ 1 |
for
First-jEzEk
|
May 7, 2013, 1:43 p.m. |
+ 1 |
for Comment
toufalk: for k in range(2,int(math.sqrt(n))+1): I knew about the "from .. import .." syntax. I was just too l...
|
May 6, 2013, 10:53 a.m. |
+ 1 |
for Comment
Tiktin: It's mostly a matter of preference. I usually prefer to combine conditionals that return the same re...
|
May 6, 2013, 7:58 a.m. |
+ 1 |
for
First-Gooma
|
May 6, 2013, 5:41 a.m. |
+ 1 |
for Comment
Bibiche: I wrote it this way precisely to be more readable, not to have to make comments to explain the idea....
|
May 4, 2013, 10:16 p.m. |
+ 3 |
for
Pseudo manhattan-nicuveo
|
May 4, 2013, 1:48 a.m. |
+ 1 |
for Comment
suwanditan: Right, however as you know, generating primes on the fly has a cost. Did you notice that my prime fo...
|
May 3, 2013, 7:46 p.m. |
+ 1 |
for Comment
fcborel: def est_palindrome(a): Thanks for the advice..
|
May 3, 2013, 7:30 p.m. |
+ 1 |
for Comment
MaikSchoepe: if number == 1 or number == 2: Yep, you are right. Cool, i learned something new today. Till now I t...
|
May 3, 2013, 4:28 p.m. |
+ 3 |
for
WhatAPrime-suwanditan
|
May 3, 2013, 9:48 a.m. |
+ 3 |
for
Simple-macobo
|
May 3, 2013, 4:44 a.m. |
+ 1 |
for
First-scturtle
|
May 3, 2013, 3:53 a.m. |
+ 1 |
for
First-scturtle
|
May 3, 2013, 2:39 a.m. |
+ 1 |
for
Cleaner old-school-nicuveo
|
May 3, 2013, 2:34 a.m. |
+ 1 |
for
Old school-nicuveo
|
May 3, 2013, 12:01 a.m. |
+ 2 |
for
BFS-nicuveo
|
May 2, 2013, 10:37 p.m. |
+ 1 |
for
Eval abuse-nicuveo
|
May 2, 2013, 8:41 p.m. |
+ 1 |
for
Verbose-nicuveo
|
May 2, 2013, 6:23 p.m. |
+ 3 |
for
Abusing eval-macobo
|
May 2, 2013, 3:43 p.m. |
+ 4 |
for
First-Bibiche
|
May 2, 2013, 10:22 a.m. |
+ 4 |
for
Fixed-macfreek
|
May 2, 2013, 9:11 a.m. |
+ 3 |
for
First-andy_s
|
May 2, 2013, 6:40 a.m. |
+ 1 |
for
First-jcg
|
May 1, 2013, 8:42 p.m. |
+ 1 |
for Comment
fcborel: Thanks for this advice
|
May 1, 2013, 10:56 a.m. |
+ 1 |
for
First-lmp
|
May 1, 2013, 7:44 a.m. |
+ 1 |
for
First-Avaris
|
April 30, 2013, 12:07 p.m. |
+ 3 |
for
First-insipid
|
April 30, 2013, 6:49 a.m. |
+ 1 |
for Comment
fcborel: Thank you : I need to improve my English....
|
April 29, 2013, 10:28 p.m. |
+ 1 |
for
First-fcborel
|
April 29, 2013, 9:53 a.m. |
+ 3 |
for
Third-Bibiche
|
April 29, 2013, 1:47 a.m. |
+ 1 |
for
First-liuminzhao
|
April 28, 2013, 10:18 p.m. |
+ 1 |
for
python knows about polynoms-toufalk
|
April 28, 2013, 9:22 p.m. |
+ 1 |
for
polynom class-toufalk
|
April 28, 2013, 6:59 p.m. |
+ 1 |
for Comment
lmp: Thanks for your ideas. I discovered array subscripting since I wrote the very verbose method stringT...
|
April 28, 2013, 5:07 p.m. |
+ 1 |
for
Second-fcborel
|
April 28, 2013, 4:10 p.m. |
+ 2 |
for
First-BuzzDee
|
April 28, 2013, 3:43 p.m. |
+ 2 |
for
First-trkv
|
April 28, 2013, 11:11 a.m. |
+ 1 |
for
First-trkv
|
April 28, 2013, 1:10 a.m. |
+ 1 |
for Comment
sleepyone: Otherwise I'd fall off of a given row and get an IndexError (I think?). It's just one of my two base...
|
April 28, 2013, 12:21 a.m. |
+ 1 |
for Comment
Tiktin: What is the purpose of lines 6-7? As far as I can see the code will run fine without them.
|
April 27, 2013, 11:49 p.m. |
+ 1 |
for Comment
guido: best = diff At this point you can actually stop if best == 0: if best == 0: return
|
April 27, 2013, 11:47 p.m. |
+ 1 |
for Comment
guido: def min_diff(self, stones): What should the answer be if stones is an empty list? I think it should ...
|
April 27, 2013, 11:33 a.m. |
+ 4 |
for
Memoization - educational-macobo
|
April 27, 2013, 11:08 a.m. |
+ 2 |
for
Naive-macobo
|
April 27, 2013, 10:59 a.m. |
+ 2 |
for
Second-S0lo
|
April 27, 2013, 10:50 a.m. |
+ 1 |
for
Parsing-macobo
|
April 27, 2013, 10:49 a.m. |
+ 1 |
for
First-Bibiche
|
April 27, 2013, 9:20 a.m. |
+ 1 |
for Comment
ibrasec: got it, thanks Done! ^0^
|
April 27, 2013, 8:05 a.m. |
+ 1 |
for
Naive recursive soln-sleepyone
|
April 27, 2013, 7:48 a.m. |
+ 1 |
for
Regular expression-Bibiche
|
April 27, 2013, 6:52 a.m. |
+ 2 |
for
Induction-PositronicLlama
|
April 27, 2013, 6:23 a.m. |
+ 4 |
for
Parser/Lexer-PositronicLlama
|
April 27, 2013, 5:49 a.m. |
+ 2 |
for
First-hyry
|
April 27, 2013, 4:09 a.m. |
+ 2 |
for
by eval-hyry
|
April 26, 2013, 7:23 p.m. |
+ 1 |
for
First-agdk26
|
April 26, 2013, 9:09 a.m. |
+ 1 |
for
First-xffox
|
April 26, 2013, 5:52 a.m. |
+ 1 |
for
Using eval function-Bilou06
|
April 26, 2013, 5:51 a.m. |
+ 4 |
for
Using ast-Bilou06
|
April 26, 2013, 3:11 a.m. |
+ 2 |
for
Second-Tiktin
|
April 26, 2013, 12:50 a.m. |
+ 2 |
for
Lagrange-Bibiche
|
April 25, 2013, 10:52 p.m. |
+ 3 |
for
First-Bibiche
|
April 25, 2013, 10:41 p.m. |
+ 3 |
for
First-Tiktin
|
April 25, 2013, 3:02 p.m. |
+ 1 |
for
First-toufalk
|
April 25, 2013, 2:26 p.m. |
+ 1 |
for
First-Divad
|
April 25, 2013, 2:18 p.m. |
+ 1 |
for Comment
toufalk: Ohh I'm a stupid idiot without imagination... I've forgotten a trivial case ! Thanks for your clue !
|
April 25, 2013, 7:50 a.m. |
+ 4 |
for
First-PositronicLlama
|
April 24, 2013, 9:42 a.m. |
+ 1 |
for Post
Inquiry -Publishing task solutions
|
April 22, 2013, 8:04 p.m. |
+ 2 |
for
First-rmidyanyy
|
April 22, 2013, 7:54 a.m. |
+ 1 |
for
First-ParadisiacMercy
|
April 20, 2013, 11:49 p.m. |
+ 1 |
for Comment
PositronicLlama: I like that you handle negative numbers, and added extra test cases to verify.
|
April 20, 2013, 5:02 p.m. |
+ 1 |
for
First-krzychusan
|
April 20, 2013, 4:54 p.m. |
+ 1 |
for Post
"Old Library" tasks disappeared
|
April 20, 2013, 8:51 a.m. |
+ 1 |
for
First-Kurush
|