Aug. 12, 2021, 5:47 p.m. |
+ 4 |
for
First-pakhomovegor
|
Aug. 10, 2021, 1:05 p.m. |
+ 2 |
for
Detailed steps (dictionary + loop)-gamer995
|
Aug. 5, 2021, 11:49 p.m. |
+ 1 |
for Comment
Phil15: I did not know about that idiom 😁 "skin the cat" come on... Sterilize it seems enough to me.
|
Aug. 5, 2021, 11:49 p.m. |
+ 1 |
for Comment
Phil15: _Side note:_ `items(0)` is wrong, it would be `items[0]` to get the first item (`[]` not `()`). item...
|
Aug. 5, 2021, 11:47 p.m. |
+ 1 |
for Comment
Phil15: It shifts the entire list, but the second copies the entire list, while the third make a new deque o...
|
Aug. 5, 2021, 11:45 p.m. |
+ 1 |
for Comment
Phil15: From another solution I "simplified", I would like to add a fourth one: ```python import functools a...
|
Aug. 5, 2021, 11:44 p.m. |
+ 4 |
for
Three solutions + 1 in comments-Phil15
|
Aug. 5, 2021, 11:36 p.m. |
+ 1 |
for Comment
ChromeBrainer: whats going on here?
|
Aug. 5, 2021, 11:34 p.m. |
+ 1 |
for Comment
bravebug: Or return not num % 2
|
Aug. 5, 2021, 11:34 p.m. |
+ 4 |
for
First-pokosasa
|
Aug. 5, 2021, 11:34 p.m. |
+ 1 |
for Comment
mailsiraj: Can you please let me know whether my understanding is correct? bitwise AND returns a 1 if each bit ...
|
Aug. 5, 2021, 11:14 p.m. |
+ 1 |
for
First-DEADPOOL
|
Aug. 5, 2021, 6:01 p.m. |
+ 1 |
for Comment
Marcin_Ramotowski: Great solution :)
|
Aug. 5, 2021, 5:59 p.m. |
+ 1 |
for Comment
gamer995: nice to see you're using "string" to solve this task! great job!
|
Aug. 5, 2021, 12:30 a.m. |
+ 1 |
for Comment
przemyslaw.daniel: According to https://hub.packtpub.com/write-python-code-or-pythonic-code/ "... you might be wonderin...
|
Aug. 5, 2021, 12:26 a.m. |
+ 4 |
for
36-liner: 7 easy examples-przemyslaw.daniel
|
Aug. 4, 2021, 11:53 p.m. |
+ 1 |
for Comment
Tinus_Trotyl: Thanks for the credits tho, but you raised it to the superpythonical level :)
|
Aug. 4, 2021, 11:53 p.m. |
+ 1 |
for
The same without `all`-Tinus_Trotyl
|
Aug. 4, 2021, 11:52 p.m. |
+ 1 |
for
Fifth-tom-tom_f993b3abc4814d4cb5476e
|
Aug. 4, 2021, 11:41 p.m. |
+ 1 |
for Comment
Sim0000: It same as t = time.split(':') h = int(t[0]) m = int(t[1])
|
Aug. 4, 2021, 11:40 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...
|
Aug. 4, 2021, 11:06 p.m. |
+ 4 |
for
(-items.count(x), items.index(x))-flpo
|
Aug. 4, 2021, 10:17 p.m. |
+ 1 |
for Comment
Sham: str.index(sub[, start[, end]]) > Return the lowest index in the string where substring _sub_ is foun...
|
Aug. 4, 2021, 10:15 p.m. |
+ 1 |
for Comment
lsdda: Why is that not 'the best' practice? Python has the philosophy of ask forgiveness, not permission, w...
|
Aug. 4, 2021, 10:15 p.m. |
+ 1 |
for Comment
Urza: I'm ashamed I didn't think about it. :)
|
Aug. 4, 2021, 10:15 p.m. |
+ 4 |
for
str.index - ValueError-oduvan
|
Aug. 4, 2021, 10:07 p.m. |
+ 4 |
for
text.lower().split().count-flpo
|
Aug. 3, 2021, 11:27 p.m. |
+ 4 |
for
First-alam4tech
|
Aug. 3, 2021, 9:49 p.m. |
+ 4 |
for
The shortest solution - only one additional line-Marcin_Ramotowski
|
Aug. 3, 2021, 9:49 p.m. |
+ 4 |
for
Easy to understand solution-Marcin_Ramotowski
|
Aug. 3, 2021, 9:48 p.m. |
+ 4 |
for
Comprehensive-mindaugas.dadurkevicius
|
Aug. 3, 2021, 9:48 p.m. |
+ 2 |
for
Readable solution using numpy-Marcin_Ramotowski
|
Aug. 3, 2021, 9:43 p.m. |
+ 2 |
for
Monkey Typing: using any() and map()-danila.s_82f7885346184ca098f30
|
Aug. 3, 2021, 9:43 p.m. |
+ 4 |
for
First-ainoneko
|
Aug. 3, 2021, 1:05 p.m. |
+ 2 |
for
Regex-Rcp8jzd
|
Aug. 3, 2021, 1:03 p.m. |
+ 4 |
for
Split and Steps-___8988
|
Aug. 3, 2021, 12:21 p.m. |
+ 2 |
for
First-kenwei.chen
|
Aug. 3, 2021, 12:20 p.m. |
+ 2 |
for
Concise algorithm-Igor_Sekretarev
|
Aug. 3, 2021, 12:20 p.m. |
+ 2 |
for
First-yoichi
|
Aug. 2, 2021, 5:55 p.m. |
+ 2 |
for
using re module to find a dictionary pattern in the text-tvylormvde
|
Aug. 2, 2021, 5:54 p.m. |
+ 4 |
for
3 lines in body-Marcin_Ramotowski
|
Aug. 2, 2021, 4:49 p.m. |
+ 1 |
for
First-szlosek.michal
|
Aug. 2, 2021, 4:47 p.m. |
+ 1 |
for
Try: Except:-MladshiiAnanas_599b6395f17d4d6
|
July 29, 2021, 1:27 a.m. |
+ 4 |
for
First-gostevu_56fd5a22da1447bea9151f
|
July 29, 2021, 1:26 a.m. |
+ 4 |
for
First-suic
|
July 29, 2021, 1:01 a.m. |
+ 1 |
for Comment
_Chico__5d82cee4f5234e78a5c65e: nice
|
July 27, 2021, 5:54 p.m. |
+ 1 |
for Task
Determine the Order
|
July 27, 2021, 1:20 p.m. |
+ 1 |
for Comment
bryukh: This is a surprise solution. Great!
|
July 27, 2021, 1:19 p.m. |
+ 4 |
for
First-coells
|
July 26, 2021, 7 p.m. |
+ 4 |
for
Number Length-my_solution-_Chico__5d82cee4f5234e78a5c65e
|
July 26, 2021, 6:44 p.m. |
+ 4 |
for
Acceptable Password I-my_solution-_Chico__5d82cee4f5234e78a5c65e
|
July 26, 2021, 6:32 p.m. |
+ 4 |
for
First-Amachua
|
July 23, 2021, 4:24 p.m. |
+ 4 |
for
First-kenwei.chen
|
July 23, 2021, 2:40 p.m. |
+ 1 |
for
AnnaCho's One-liner-suic
|
July 21, 2021, 6:58 p.m. |
+ 4 |
for
numpy product of gradient-Raszlo
|
July 21, 2021, 5:54 p.m. |
+ 4 |
for
Brackets-vvm70
|
July 19, 2021, 11:02 p.m. |
+ 3 |
for
reduce-Cjkjvfnby
|
July 19, 2021, 11:01 p.m. |
+ 1 |
for
numpy class practice-Takeshi_Sue
|
July 19, 2021, 11 p.m. |
+ 3 |
for
One Liner-Lumy
|
July 19, 2021, 11 p.m. |
+ 1 |
for
First-m--m
|
July 17, 2021, 11:23 a.m. |
+ 1 |
for
Oneliner-lcoandrade
|
July 16, 2021, 11:18 p.m. |
+ 3 |
for
re-andromedk
|
July 16, 2021, 11:17 p.m. |
+ 3 |
for
First-kxuaxtyls_6f97789336e04f78a8be
|
July 16, 2021, 11:16 p.m. |
+ 3 |
for
First-petukhou.mikita
|
July 16, 2021, 10:15 p.m. |
+ 1 |
for
First-parfenov1976
|
July 16, 2021, 10:11 p.m. |
+ 1 |
for
First-kalauroma7997
|
July 16, 2021, 5:45 p.m. |
+ 2 |
for
Test-a.s.sidorovich
|
July 16, 2021, 2:56 p.m. |
+ 2 |
for
max(start_watching or end, end)-Phil15
|
July 15, 2021, 6:50 p.m. |
+ 2 |
for
First - Lightbulb Start Watching-Wakko_Warner
|
July 15, 2021, 6:44 p.m. |
+ 2 |
for
class practice-Takeshi_Sue
|
July 15, 2021, 6:43 p.m. |
+ 1 |
for
First-flairplaya
|
July 15, 2021, 5:50 p.m. |
+ 2 |
for
Concise algorithm-Igor_Sekretarev
|
July 15, 2021, 5:50 p.m. |
+ 2 |
for
First-roman.letunovsky
|
July 15, 2021, 5:50 p.m. |
+ 2 |
for
First-m--m
|
July 15, 2021, 5:48 p.m. |
+ 2 |
for
First word simplified-srigel
|
July 15, 2021, 5:46 p.m. |
+ 2 |
for
O(n) quickselect, pivot=median of 3, partition=3-way-juestr
|
July 15, 2021, 5:45 p.m. |
+ 2 |
for
Easy way-Nahuel701
|
July 15, 2021, 5:29 p.m. |
+ 1 |
for
long-Hajanek
|
July 15, 2021, 1:24 p.m. |
+ 1 |
for
First-flairplaya
|
July 15, 2021, 1:01 p.m. |
+ 1 |
for
Second-Valiko_Porosyuko
|
July 15, 2021, 12:35 p.m. |
+ 1 |
for
First-flairplaya
|
July 15, 2021, 12:20 a.m. |
+ 2 |
for
First-_Chico__5d82cee4f5234e78a5c65e
|
July 15, 2021, 12:19 a.m. |
+ 2 |
for
datetime, strftime, f-string, if-mnbvc123
|
July 14, 2021, 10:55 p.m. |
+ 1 |
for
Second-neitro
|
July 14, 2021, 10:54 p.m. |
+ 2 |
for
First-a276397873
|
July 14, 2021, 10:40 p.m. |
+ 2 |
for
First-defensor
|
July 14, 2021, 9:58 p.m. |
+ 1 |
for
First-melitaele
|
July 14, 2021, 5:21 p.m. |
+ 1 |
for
First-Jose_Facundo_Bogado_Navarrete
|
July 14, 2021, 5:20 p.m. |
+ 1 |
for
First-ouo.matsu.zoz
|
July 14, 2021, 3:27 p.m. |
+ 2 |
for
First-Vaarwel
|
July 14, 2021, 3:27 p.m. |
+ 1 |
for
Using Counter-dolanchek
|
July 13, 2021, 11:37 p.m. |
+ 1 |
for
1-liner-Stensen
|
July 10, 2021, 10:16 p.m. |
+ 1 |
for
datetime-Sky_J
|
July 10, 2021, 5:26 p.m. |
+ 1 |
for
1-liner-ReadingShades
|