July 8, 2023, 4:18 p.m. |
+ 1 |
for Comment
Janoo12: (one in values)*one or part is not needed but nice
|
Jan. 13, 2023, 8:07 p.m. |
+ 1 |
for Comment
jakubbortlik: For a script of this size it would be helpful to include more detailed function annotations to ease ...
|
Dec. 9, 2022, 8:51 p.m. |
+ 1 |
for Comment
jakubbortlik: Regular expressions can certainly do this kind of job, but it can be much simpler: ``` def is_all_up...
|
Aug. 13, 2022, 6:35 a.m. |
+ 1 |
for Comment
Sim0000: By the way, I never thanked @Splitter . Thanks to your appropriate comments, this code was created.
|
Nov. 27, 2021, 4:28 p.m. |
+ 1 |
for Comment
hwdyhewhdh: Interesting choice to use enumerate for this.
|
July 20, 2021, 12:26 p.m. |
+ 1 |
for Comment
Kurush: The best possible solution for this task.
|
July 7, 2021, 11:34 a.m. |
+ 5 |
for
Mine - "Cut Sentence"-jsg-inet
|
July 7, 2021, 11:31 a.m. |
+ 1 |
for Comment
jsg-inet: Similar to my solution but interesting use of ".isalpha" method. Nice.
|
July 2, 2021, 8:34 p.m. |
+ 5 |
for
First-jusha
|
Nov. 29, 2020, 3:41 p.m. |
+ 5 |
for
Find zero of f(x)=x**x-N-oLeBeLo
|
Oct. 12, 2020, 1:14 p.m. |
+ 1 |
for Comment
hexalingual: **if number % 15 == 0** ;)
|
Oct. 5, 2020, 9:14 a.m. |
+ 1 |
for Comment
Ilis: Good! If you want to make a list with first element of another list or empty list if origin is empty...
|
Sept. 29, 2020, 9:16 a.m. |
+ 1 |
for Comment
NotNix: compact
|
Sept. 29, 2020, 9:16 a.m. |
+ 1 |
for Comment
ruslan.arifullin: It's a nice way to solve the task like you did -)
|
Aug. 26, 2020, 1:47 p.m. |
+ 1 |
for Comment
MiyamotoYu: nice
|
July 29, 2020, 3:38 p.m. |
+ 1 |
for Comment
hetareguma: I like this coding because it is easy to understand
|
July 12, 2020, 8:07 a.m. |
+ 1 |
for Comment
--Serial_Sniper--: Holy Shit! This is fucking incredible, That's really an intelligent Code of yours.
|
July 12, 2020, 8:06 a.m. |
+ 1 |
for Comment
--Serial_Sniper--: Dude I cheer you up!
|
July 11, 2020, 5:30 a.m. |
+ 1 |
for Comment
--Serial_Sniper--: Damn Cool!
|
July 8, 2020, 7:45 a.m. |
+ 1 |
for Comment
Pouf: Definitely deserves Clear category ! Also, you can remove all the asserts before publishing.
|
July 7, 2020, 12:54 p.m. |
+ 5 |
for
First-letpfm
|
June 28, 2020, 8:17 a.m. |
+ 2 |
for
First-bravebug
|
June 19, 2020, 11:51 a.m. |
+ 1 |
for Comment
GreenhornPro: I like it! Easy to understand.
|
June 11, 2020, 1:36 p.m. |
+ 1 |
for Comment
joseavom: complexe pour une solution simple
|
June 8, 2020, 5:30 p.m. |
+ 1 |
for Comment
dead43rus: Работает и ладно
|
June 3, 2020, 12:45 p.m. |
+ 4 |
for
non pythonic-igharok
|
June 3, 2020, 12:44 p.m. |
+ 5 |
for
No loops-igharok
|
June 3, 2020, 12:38 p.m. |
+ 1 |
for Comment
igharok: Clear
|
May 30, 2020, 10:22 a.m. |
+ 5 |
for
First-jusha
|
May 30, 2020, 8:56 a.m. |
+ 1 |
for Comment
Gabbek: Sure, here are some small tests: grid=[10, 17, 25, 33, 38, 49, 52, 61, 64, 77], k=6, correct_answer=...
|
May 30, 2020, 5:33 a.m. |
+ 4 |
for
First-jusha
|
May 30, 2020, 5:30 a.m. |
+ 4 |
for
First-jusha
|
May 29, 2020, 4:50 p.m. |
+ 1 |
for Comment
Gabbek: I've just tried to solve your mission. I like the idea of it and it's quite interesting :) I do have...
|
May 22, 2020, 1:37 p.m. |
+ 5 |
for
pythonic-ibonyun
|
May 15, 2020, 1:59 p.m. |
+ 1 |
for Comment
akamus: Nice idea with try
|
May 9, 2020, 5:43 p.m. |
+ 1 |
for Comment
frankiser: I don't understand how I can 'work directly with the char' in a list without using an index. Can you...
|
May 9, 2020, 5:43 p.m. |
+ 1 |
for Comment
frankiser: This clarifies it. Thank you.
|
May 9, 2020, 5:07 p.m. |
+ 4 |
for
Brute force solution-frankiser
|
May 9, 2020, 4:53 p.m. |
+ 1 |
for Comment
frankiser: Nice usage of regex to identify a repeating character with rf'{ch}+'
|
May 8, 2020, 7:34 a.m. |
+ 1 |
for Comment
Oleg_Levonjuk: Nice usage of regular expressions!
|
May 5, 2020, 1:53 p.m. |
+ 1 |
for Comment
meydans: import re is not in use
|
May 3, 2020, 2:36 p.m. |
+ 1 |
for Comment
Valkoiset: Wow! Turnes out it was that simple! Awesome solution! :)
|
May 1, 2020, 11:23 a.m. |
+ 4 |
for
First-15ucc045
|
May 1, 2020, 11:22 a.m. |
+ 4 |
for
Recursion-15ucc045
|
May 1, 2020, 4:25 a.m. |
+ 5 |
for
First-siemennooren
|
May 1, 2020, 4:23 a.m. |
+ 5 |
for
First-siemennooren
|
April 30, 2020, 3:13 p.m. |
+ 1 |
for Comment
123123123a: cool
|
April 30, 2020, 10:37 a.m. |
+ 5 |
for
native_goes_after-Jon_Red
|
April 29, 2020, 1:50 p.m. |
+ 5 |
for
findall-vkorneychuk
|
April 29, 2020, 1:50 p.m. |
+ 4 |
for
re search-vkorneychuk
|
April 24, 2020, 6:58 a.m. |
+ 1 |
for Comment
Phil15: Yeah bool is required bool(not letters & low_letters and letters & upp_letters) --------set---------...
|
April 24, 2020, 6 a.m. |
+ 4 |
for
sets of lower/upper letters-Phil15
|
April 24, 2020, 5:45 a.m. |
+ 5 |
for
Obvious isupper()-thealfest1
|
April 24, 2020, 5:44 a.m. |
+ 5 |
for
all([]) == True-KareeO
|
April 24, 2020, 5:43 a.m. |
+ 4 |
for
All Upper II-DmytroKaminskiy
|
April 22, 2020, 5:54 a.m. |
+ 1 |
for Comment
MrFitz: What can I say? I thought my solution did the job (in about 8 lines of code!) Ha. Anyway, I'm well i...
|
April 20, 2020, 6:24 p.m. |
+ 1 |
for Comment
piter239: nice way of implementing ceil(len/2)!
|
April 18, 2020, 3:47 p.m. |
+ 1 |
for Comment
BeranekP: You can replace `find` with `index`, which throws an error if not found instead of -1. Combine it wi...
|
April 18, 2020, 3:34 p.m. |
+ 1 |
for Comment
ajevip_c6082b8b856140769fbc47c: This is an interesting and educational dictionaric approach. You have my positive vote.
|
April 18, 2020, 6:56 a.m. |
+ 1 |
for Comment
BeranekP: The code does not cover situation, where the second has index 0 and first is not in the given word. ...
|
April 16, 2020, 9:55 a.m. |
+ 5 |
for
First-Evgeny_Andronov
|
April 16, 2020, 9:33 a.m. |
+ 4 |
for
First sorted counter-Evgeny_Andronov
|
April 16, 2020, 9:32 a.m. |
+ 4 |
for
First-Evgeny_Andronov
|
April 13, 2020, 7:18 a.m. |
+ 1 |
for Comment
daijp02: Learned the function lstrip! Thanks!
|
April 11, 2020, 2:26 p.m. |
+ 4 |
for
First-staaceyD
|
April 8, 2020, 7:17 a.m. |
+ 2 |
for
End Zeros-ahin9312
|
April 8, 2020, 7:04 a.m. |
+ 4 |
for
All Upper I-ahin9312
|
April 8, 2020, 7:03 a.m. |
+ 3 |
for
Remove All Before-ahin9312
|
April 7, 2020, 1:40 p.m. |
+ 3 |
for
piece of cake!-megaexception
|
April 7, 2020, 1:25 p.m. |
+ 3 |
for
First-megaexception
|
April 7, 2020, 1:18 p.m. |
+ 2 |
for
First-megaexception
|
April 7, 2020, 6:56 a.m. |
+ 4 |
for
856ea23c84896651c9617e5413773276-megaexception
|
April 7, 2020, 6:55 a.m. |
+ 3 |
for
First-maybejadey
|
April 6, 2020, 8:08 a.m. |
+ 3 |
for
First-megaexception
|
April 2, 2020, 11:28 a.m. |
+ 3 |
for
re.search VI-Olpag
|
April 2, 2020, 8:40 a.m. |
+ 5 |
for
val[::-1]-Olpag
|
April 1, 2020, 2:12 p.m. |
+ 1 |
for Comment
veky: If it's any consolation, that happens to me about weekly. :-[
|
April 1, 2020, 6:13 a.m. |
+ 1 |
for Comment
hao.daniel: very interesting and clear approach.
|
April 1, 2020, 6:08 a.m. |
+ 1 |
for Comment
Natal_ja_Laktjushkina: Thanks
|
April 1, 2020, 6 a.m. |
+ 1 |
for Comment
Natalia99: Clear and simple. Congratz!
|
April 1, 2020, 5:38 a.m. |
+ 1 |
for Comment
jusha: you're right
|
April 1, 2020, 5:33 a.m. |
+ 5 |
for
with comment-Sim0000
|
April 1, 2020, 5:33 a.m. |
+ 1 |
for Comment
Sim0000: Don't worry about it.I've been thinking the same thing. Now I rewrite my code. See [here](https://py...
|
March 31, 2020, 3:10 p.m. |
+ 5 |
for
First-jusha
|
March 31, 2020, 3:07 p.m. |
+ 5 |
for
First-jusha
|
March 31, 2020, 3:07 p.m. |
+ 1 |
for Comment
Sim0000: I added the code haphazardly and ended up with this.I'm starting to get fed up with it. In this next...
|
March 31, 2020, 10:42 a.m. |
+ 4 |
for
First-Natal_ja_Laktjushkina
|
March 31, 2020, 10:40 a.m. |
+ 3 |
for
First-Natal_ja_Laktjushkina
|
March 31, 2020, 10:23 a.m. |
+ 2 |
for
First-Sim0000
|
March 30, 2020, 10:53 a.m. |
+ 2 |
for
My beauty: 'Striped Words'-Maria_Kren
|
March 30, 2020, 10:31 a.m. |
+ 4 |
for
My beauty: 'Time converter'-Maria_Kren
|
March 29, 2020, 6:38 a.m. |
+ 5 |
for
First-lukasz.bogaczynski
|
March 29, 2020, 6:02 a.m. |
+ 1 |
for Comment
JohanL: Consider using a Python dict rather than the two tuples for the roman and arab numbers. That is a mo...
|
March 29, 2020, 6:01 a.m. |
+ 1 |
for Comment
quarkov: You're right. I'd rather use a dict than tuples. Half year ago it wasn't so obvious.
|
March 29, 2020, 6:01 a.m. |
+ 4 |
for
A pair of tuples-quarkov
|
March 29, 2020, 5:58 a.m. |
+ 4 |
for
7-liner: based on best Roman Numerals solution-przemyslaw.daniel
|
March 29, 2020, 5:35 a.m. |
+ 2 |
for
two one-liners-StefanPochmann
|
March 29, 2020, 5:28 a.m. |
+ 1 |
for Comment
przemyslaw.daniel: The first one deserves to be in 'creative' category
|
March 29, 2020, 5:23 a.m. |
+ 4 |
for
replacereplacereplacereplacereplacereplace.....-popomin
|
March 29, 2020, 5:21 a.m. |
+ 3 |
for
"First word" one line code-crash5bash
|