Oct. 30, 2023, 2:59 p.m. |
+ 4 |
for
zip-kurosawa4434
|
Oct. 29, 2023, 10:34 a.m. |
+ 2 |
for
map lambda-romenoli
|
Oct. 29, 2023, 10:31 a.m. |
+ 4 |
for
2 short lines-StefanPochmann
|
Oct. 29, 2023, 10:24 a.m. |
+ 4 |
for
res.insert(i, 0)-flpo
|
Jan. 5, 2022, 9:20 p.m. |
+ 4 |
for
One AbstractClass and 3 implementations-swagg010164
|
Jan. 5, 2022, 9:19 p.m. |
+ 1 |
for Comment
malykony: good job I think the most readable and clear I have read so far
|
Jan. 5, 2022, 9:17 p.m. |
+ 3 |
for
First-fed.kz
|
Jan. 5, 2022, 9:16 p.m. |
+ 4 |
for
AbstractCook-flpo
|
Nov. 19, 2021, 6:23 a.m. |
+ 4 |
for
First-madmanbob
|
Nov. 17, 2021, 7:51 p.m. |
+ 4 |
for
Split 'a', replace even, remove 'a'-ail531
|
Nov. 16, 2021, 8:52 p.m. |
+ 1 |
for Comment
leshchenko: Nice one with the map(). Although, `angle = 15 * h + m / 4 - 90` seems a bit obscure. :)
|
Nov. 16, 2021, 8:51 p.m. |
+ 1 |
for Comment
Sim0000: One hour is 15 degrees (= 360 / 24) and one minute is 0.25 degrees (= 360 / (24 * 60)). I don't know...
|
Nov. 16, 2021, 8:50 p.m. |
+ 1 |
for Comment
Sim0000: It same as t = time.split(':') h = int(t[0]) m = int(t[1])
|
Nov. 16, 2021, 8:48 p.m. |
+ 1 |
for Comment
alexander.gorelyshev: You don't need `list` casting: you can assign values to your `h, m` variables directly: `hours, minu...
|
Nov. 16, 2021, 8:48 p.m. |
+ 4 |
for
First-Sim0000
|
Nov. 15, 2021, 6:15 a.m. |
+ 1 |
for Comment
Phil15: My solution -- which worked before -- does not anymore, I have the same message you got. @oduvan Sam...
|
Nov. 9, 2021, 6:25 a.m. |
+ 4 |
for
Army with 3 properties : is_alive, warrior, pop-Phil15
|
Nov. 7, 2021, 11:45 a.m. |
+ 1 |
for Comment
kirosx88: Why return self.health >= 0 ? seems like warrior still alive when he has 0 hp?
|
Nov. 7, 2021, 11:41 a.m. |
+ 1 |
for Comment
nischutja: *unit_2.is_alive means multiply with 1 (True) or multiply with 0 (False) - in this case you don't ch...
|
Nov. 7, 2021, 11:39 a.m. |
+ 1 |
for Comment
Askanio234: This is optional type annotations https://www.python.org/dev/peps/pep-0484/
|
Nov. 7, 2021, 11:35 a.m. |
+ 4 |
for
First-xavier-b
|
Nov. 4, 2021, 11:32 p.m. |
+ 3 |
for
The Hidden Word-narimiran
|
Nov. 4, 2021, 11:30 p.m. |
+ 3 |
for
template-veky
|
Nov. 4, 2021, 10:59 p.m. |
+ 3 |
for
First-Sarina
|
Nov. 1, 2021, 7:51 p.m. |
+ 3 |
for
ℤ ≅ ℕ × bool-veky
|
Nov. 1, 2021, 7:47 p.m. |
+ 1 |
for Comment
PHANTOM0308: Learn something new today, thanks man!
|
Nov. 1, 2021, 7:45 p.m. |
+ 1 |
for Comment
spitfire_ch: I was googling like mad for how you can pass a secondary key to min(). Now, I finally know, thank yo...
|
Nov. 1, 2021, 7:43 p.m. |
+ 1 |
for Comment
mortonfox: That is needed because of the requirement of having to choose the smaller number if two numbers at a...
|
Nov. 1, 2021, 7:43 p.m. |
+ 1 |
for Comment
GreenhornPro: I learned something new today! But how does "abs(one-n),n" work? I found out "abs(one-n)" is not eno...
|
Nov. 1, 2021, 3:36 p.m. |
+ 1 |
for Comment
atzeatze: his two lines against my 40 lines xD
|
Nov. 1, 2021, 3:36 p.m. |
+ 3 |
for
max-count-bryukh
|
Nov. 1, 2021, 12:38 p.m. |
+ 1 |
for Comment
tkachuk.constantine: Jenya, you are cool! :) Cool solution!
|
Nov. 1, 2021, 12:38 p.m. |
+ 1 |
for Comment
uxban: Люди решающие задачи в одну строку, кто вы, блин, такие?😑
|
Nov. 1, 2021, 12:38 p.m. |
+ 1 |
for Comment
eugene100372: From Python doc: zip(*iterables) Make an iterator that aggregates elements from each of the iterable...
|
Oct. 31, 2021, 5:46 p.m. |
+ 1 |
for Comment
veky: Nice way of avoiding coding the alphabet in. :-)
|
Oct. 31, 2021, 5:45 p.m. |
+ 1 |
for Comment
MarcAureleCoste: Just testing if `set(ascii_lowercase)` is a subset of `set(text)` is a brilliant idea. Good solution...
|
Oct. 31, 2021, 5:45 p.m. |
+ 1 |
for Comment
mlahor: Clear solution demonstrating the use of the Set collection.
|
Oct. 31, 2021, 5:45 p.m. |
+ 1 |
for Comment
jsg-inet: Smart and extremely short one-line code! Cool!
|
Oct. 30, 2021, 7:56 p.m. |
+ 1 |
for
str(p & f)time-flpo
|
Oct. 18, 2021, 7:58 p.m. |
+ 1 |
for
As one line-Stepan__Timetsky
|
Oct. 18, 2021, 7:01 p.m. |
+ 1 |
for
First-sqeph
|
Oct. 18, 2021, 6:56 p.m. |
+ 1 |
for
split + two key sorted-kdim
|
Oct. 18, 2021, 6:53 p.m. |
+ 1 |
for
sorted key-katnic
|
Oct. 18, 2021, 6:48 p.m. |
+ 1 |
for
Get to the point!-veky
|
Oct. 18, 2021, 6:35 p.m. |
+ 1 |
for
native_sort_by_extension-Jon_Red
|
Feb. 20, 2020, 8:55 p.m. |
+ 1 |
for
All the Same-upbirb42
|
Feb. 20, 2020, 8:50 p.m. |
+ 1 |
for
First-nomis517
|
Feb. 20, 2020, 11:21 a.m. |
+ 1 |
for Comment
MackM: Those were very educational, thank you.
|
Feb. 18, 2020, 1:14 p.m. |
+ 1 |
for
First-rschen0404
|
Feb. 18, 2020, 1:13 p.m. |
+ 1 |
for
First-linozen
|
Feb. 18, 2020, 12:48 p.m. |
+ 1 |
for
House Password-booratello
|
Feb. 18, 2020, 7:49 a.m. |
+ 1 |
for Comment
veky: Comments are important. The problem is, they are not important in the way newbies think they are. Fi...
|
Feb. 18, 2020, 7:32 a.m. |
+ 1 |
for Post
F.A.Q
|
Feb. 17, 2020, 9:53 p.m. |
+ 1 |
for
First-LivechessYahoo
|
Feb. 17, 2020, 9:53 p.m. |
+ 1 |
for
First-Vladyslav-tech
|
Feb. 17, 2020, 9:51 p.m. |
+ 1 |
for Comment
Sim0000: You can write return len(args) and max(args) - min(args) :-)
|
Feb. 17, 2020, 9:51 p.m. |
+ 1 |
for Comment
aksenof: wow, thank's, good comment)
|
Feb. 17, 2020, 9:07 p.m. |
+ 1 |
for Task
The Most Numbers
|
Feb. 17, 2020, 12:42 p.m. |
+ 1 |
for Comment
ziqizhangt: def checkio(number: int) -> int: multi = 1 string = str(number) for i in string: n = int(i) if n == ...
|
Feb. 17, 2020, 11:08 a.m. |
+ 1 |
for Comment
thealfest1: Assertion error means that your code works, but returns incorrect value.
|
Feb. 15, 2020, 5:58 p.m. |
+ 1 |
for
One line solution-bsquare
|