Jan. 30, 2023, 12:19 p.m. |
+ 1 |
for Comment
lisovsky: The sum of the digits can be calculated as follows (the number cannot be greater than 83): sum(divmo...
|
Jan. 14, 2023, 3:58 a.m. |
+ 1 |
for Comment
lisovsky: Nice solution! Nothing to add! But: PEP 8: E731 do not assign a lambda expression, use a def
|
Dec. 31, 2022, 5 a.m. |
+ 1 |
for Comment
sMiTeOne: In the loop condition you can write: while num > 9:
|
Nov. 27, 2022, 3:20 p.m. |
+ 1 |
for Comment
Phil15: Looking at tests, there are -1s too but never less (yet).
|
Nov. 27, 2022, 3:16 p.m. |
+ 1 |
for Comment
kurosawa4434: Are input values positive integers only?
|
Oct. 3, 2022, 9:41 p.m. |
+ 1 |
for
First-freeman_lex
|
Oct. 3, 2022, 9:38 p.m. |
+ 1 |
for
Simple and Explained-Selindian
|
Oct. 2, 2022, 1:53 p.m. |
+ 5 |
for
one line-kazuki.h
|
Oct. 2, 2022, 1:48 p.m. |
+ 1 |
for
len(s := str(num)) == 1-flpo
|
Oct. 2, 2022, 1:47 p.m. |
+ 1 |
for
First-mini.maus87
|
Sept. 19, 2022, 1:21 p.m. |
+ 1 |
for Comment
freeman_lex: Everything is fine now!
|
Sept. 19, 2022, 12:40 p.m. |
+ 1 |
for Comment
freeman_lex: Yes, I saw the error, even earlier than you all. The team is working on it.
|
Sept. 18, 2022, 11:21 p.m. |
+ 2 |
for
mAlign-veky
|
Sept. 18, 2022, 11:21 p.m. |
+ 2 |
for
First-kazuki.h
|
Sept. 18, 2022, 11:18 p.m. |
+ 1 |
for Comment
Phil15: I just saw the mission published on an island. So the "base" argument is added to the function, whic...
|
Sept. 18, 2022, 11:17 p.m. |
+ 1 |
for Comment
Doppelok: Don't be so angry, please. I have a problem with this simple task, the button "Remove" in the best s...
|
Sept. 18, 2022, 11:15 p.m. |
+ 1 |
for Comment
Phil15: When clicking "Check", I only get `ErrUchDownloadPackage` error message, no matter what code I submi...
|
Sept. 15, 2022, 11:35 a.m. |
+ 2 |
for
more-itertools import + 1-liner-Phil15
|
Sept. 13, 2022, 10:32 a.m. |
+ 1 |
for
pairwise, groupby, xor-Sim0000
|
Sept. 12, 2022, 1:38 p.m. |
+ 3 |
for
First-ssk8
|
Sept. 10, 2022, 9 a.m. |
+ 2 |
for
dicountiary-veky
|
Sept. 10, 2022, 8:59 a.m. |
+ 2 |
for
1-liner: three uses of itertools, one counter-Phil15
|
Aug. 14, 2022, 10:14 a.m. |
+ 1 |
for Comment
Kverde: I didn't know that title separates words with any non-alphabetic characters print('test test_test te...
|
Nov. 11, 2021, 10:46 a.m. |
+ 1 |
for
set-kamjir
|
Nov. 10, 2021, 9:31 p.m. |
+ 2 |
for
First-eugene100372
|
Aug. 31, 2021, 1:30 p.m. |
+ 1 |
for
First-faust87
|
Aug. 31, 2021, 1:30 p.m. |
+ 1 |
for
homemade ceil-vvereta_6d43a8a0671a4f499f917d
|
Aug. 31, 2021, 1:29 p.m. |
+ 1 |
for
First-mr-quant
|
Aug. 31, 2021, 1:28 p.m. |
+ 1 |
for
Malcolm in the ~middle -alterGNU
|
Aug. 11, 2021, noon |
+ 1 |
for Comment
jsg-inet: Smart solution! Only one question: The "_" in the "for" loop has a special meaning?
|
Aug. 4, 2021, 3:24 p.m. |
+ 1 |
for Comment
ainoneko: > Do we have to think about rounding? We should think of it (or to check if the difference is small)...
|
July 31, 2021, 2:03 a.m. |
+ 1 |
for Comment
ainoneko: I'm afraid rotations would break the manhattan distance. Try this, for example: `assert similar_tria...
|
May 7, 2021, 1:38 p.m. |
+ 1 |
for Comment
InvisDolphin: That is one of the possibilities in the Home version of Between Markers mission. (& as such, it tell...
|
March 9, 2021, 12:07 p.m. |
+ 1 |
for Comment
StephD: Does using 'find(begin)' wouldn't be safier if text not find? as "return text[text.find(begin)+1:tex...
|
Feb. 19, 2021, 11:16 a.m. |
+ 1 |
for Comment
X-Yupto10: Can someone explain it ? How the double negation interact with the password [6:] ? I don't understan...
|
Jan. 13, 2021, 10:41 a.m. |
+ 1 |
for Comment
Adrian_Goh: Is there a reason why you didn't use from math import dist?
|
Dec. 31, 2020, 1:46 a.m. |
+ 1 |
for Comment
lrnx: You don't actually need to bother with the square and the square root in the euclidian distance, a s...
|
Dec. 20, 2020, 1:06 p.m. |
+ 2 |
for
First-StanislauL
|
Dec. 20, 2020, 1:06 p.m. |
+ 2 |
for
8-liner: Setup city_name after instantiating for the first time-Stensen
|
Dec. 20, 2020, 1:05 p.m. |
+ 2 |
for
__new__-m.kurapov
|
Oct. 14, 2020, 3:26 a.m. |
+ 1 |
for Comment
Stensen: It's true that that regex is a good filter for non-ascii characters, But I didn't know there is str....
|
Oct. 10, 2020, 12:53 a.m. |
+ 1 |
for
First-max.rotenko
|
Oct. 10, 2020, 12:51 a.m. |
+ 1 |
for
Second-tigelane
|
Oct. 10, 2020, 12:46 a.m. |
+ 2 |
for
one-linear simple!-serg3y1999
|
Oct. 10, 2020, 12:39 a.m. |
+ 1 |
for
Find-Sioul
|
Aug. 10, 2020, 2:48 a.m. |
+ 1 |
for
First-l.szyman10
|
Aug. 10, 2020, 2:45 a.m. |
+ 1 |
for
First-twilyght
|
Aug. 10, 2020, 2:41 a.m. |
+ 1 |
for
First-Max_Fiona
|
July 2, 2020, 1:46 p.m. |
+ 1 |
for
First-wbl4126
|
June 29, 2020, 12:38 p.m. |
+ 1 |
for Comment
Pouf: You can simplify get_distance with `math.hypot()`. Also, it works here but be careful when comparing...
|
May 22, 2020, 10:56 p.m. |
+ 4 |
for
zip-kurosawa4434
|
May 22, 2020, 10:47 p.m. |
+ 4 |
for
max comparative advantage (one line)-juestr
|
May 22, 2020, 10:43 p.m. |
+ 2 |
for
3-liner: zeeeeeeeeep-przemyslaw.daniel
|
May 3, 2020, 2:30 a.m. |
+ 2 |
for
Second-eugene100372
|
May 3, 2020, 2:30 a.m. |
+ 2 |
for
First-malykony
|
May 3, 2020, 2:21 a.m. |
+ 2 |
for
First-eugene100372
|
April 7, 2020, 2:06 p.m. |
+ 1 |
for Comment
hannibalzhang1998: Very cool code. It's really interesting to pick up some new functions I don't know before from quest...
|
April 4, 2020, 1:19 a.m. |
+ 1 |
for
1-liner: shortest-przemyslaw.daniel
|
March 24, 2020, 8:48 p.m. |
+ 1 |
for Comment
MrPod: `def move` can be replaced with one-lined set comprehension: `{next_positions(pos) for pos in positi...
|
March 9, 2020, 8:31 p.m. |
+ 2 |
for
result[isinstance(item, int)]-flpo
|
March 9, 2020, 8:26 p.m. |
+ 2 |
for
filter-Sim0000
|
Feb. 29, 2020, 2:02 a.m. |
+ 2 |
for
First-mortonfox
|
Feb. 29, 2020, 2:01 a.m. |
+ 1 |
for
endswith-MrPod
|
Feb. 25, 2020, 1:06 p.m. |
+ 1 |
for
First-vby
|
Feb. 25, 2020, 1:04 p.m. |
+ 2 |
for
First-tom-tom_f993b3abc4814d4cb5476e
|
Feb. 17, 2020, 8:57 p.m. |
+ 3 |
for
Strictly int math; no floats or Fractions-rossras
|
Feb. 17, 2020, 8:53 p.m. |
+ 1 |
for
First-brownie57
|
Feb. 17, 2020, 8:53 p.m. |
+ 1 |
for
Similar Triangles-JimmyCarlos
|
Feb. 8, 2020, 4:57 a.m. |
+ 1 |
for
Swap Nodes-JimmyCarlos
|
Feb. 7, 2020, 12:22 p.m. |
+ 1 |
for
Transpose with zip_longest-heitor
|
Feb. 7, 2020, 12:22 p.m. |
+ 1 |
for
First-juestr
|
Feb. 7, 2020, 12:22 p.m. |
+ 1 |
for
zip_longest-flpo
|
Feb. 3, 2020, 2:21 a.m. |
+ 2 |
for
Compress List-JimmyCarlos
|
Feb. 3, 2020, 2:11 a.m. |
+ 2 |
for
itertools.groupby(iterable)-David_Jones
|
Dec. 29, 2019, 12:42 p.m. |
+ 1 |
for
Traverse-HeNeArKr
|
Dec. 29, 2019, 12:39 p.m. |
+ 1 |
for Comment
Phil15: for subtree in tree[1]: if result := find_node(subtree, node): # python 3.8+ return result # No need...
|
Nov. 27, 2019, 3:03 p.m. |
+ 2 |
for
First-AMJ
|
Nov. 27, 2019, 3 p.m. |
+ 1 |
for
% and //, no binary conversion!-Sioul
|
Nov. 27, 2019, 2:56 p.m. |
+ 2 |
for
First-juestr
|
Nov. 27, 2019, 2:51 p.m. |
+ 1 |
for
First-mlahor
|
Sept. 18, 2019, 2:58 p.m. |
+ 1 |
for
6-liner: mumbo jumbo-przemyslaw.daniel
|
Sept. 18, 2019, 2:56 p.m. |
+ 1 |
for
First-Moff
|
Sept. 18, 2019, 2:55 p.m. |
+ 1 |
for
Cube rotation-tom-tom_f993b3abc4814d4cb5476e
|
Aug. 25, 2019, 1:30 p.m. |
+ 1 |
for
best_moves and winning_combos-flpo
|
Aug. 25, 2019, 1:30 p.m. |
+ 1 |
for
My champ-Tinus_Trotyl
|
Aug. 25, 2019, 1:30 p.m. |
+ 1 |
for
Minusmax-veky
|
Aug. 25, 2019, 1:51 a.m. |
+ 1 |
for
First-Wooseok_Lee
|
Aug. 25, 2019, 1:48 a.m. |
+ 1 |
for
Try it-kirillivanoff
|
Aug. 18, 2019, 10:22 a.m. |
+ 1 |
for
1ff2aace0f1c3202b9013e532ea13c1b-johankor
|
Aug. 18, 2019, 10:19 a.m. |
+ 1 |
for
Simple-suic
|
Aug. 18, 2019, 10:18 a.m. |
+ 1 |
for
Caps Lock simple with .split()-Molot
|
Aug. 18, 2019, 10:04 a.m. |
+ 1 |
for
First-Sim0000
|
Aug. 18, 2019, 10:03 a.m. |
+ 1 |
for
First-brownie57
|
Aug. 5, 2019, 10:07 p.m. |
+ 1 |
for Comment
frbrgeorge: Proper use of collections.Iterable, good!
|
Aug. 2, 2019, 12:30 p.m. |
+ 1 |
for Comment
matdibobe: why do you have that +1 after the first (begin)?
|
Aug. 2, 2019, 12:29 p.m. |
+ 1 |
for Comment
Eugene_Neshyn: To exclude initial marker from an output substring.
|
July 7, 2019, 1:24 a.m. |
+ 1 |
for
First simple while cycle-Molot
|
July 7, 2019, 1:23 a.m. |
+ 1 |
for
First-Satoshi_Ogata
|
July 5, 2019, 12:58 a.m. |
+ 2 |
for
First-martin_b
|
June 30, 2019, 2:24 a.m. |
+ 1 |
for
class VoiceCommand(list)-David_Jones
|