12
Last seen 8 years ago
Member for 10 years, 7 months, 28 days
Difficulty Normal
Nov. 23, 2017, 1:43 p.m. | + 1 | for Comment Cjkjvfnby: You don't need raw string in regexp, and can skip square braces when use \w You can remove **strippe... |
Nov. 23, 2017, 1:41 p.m. | + 1 | for Comment veky: Same as my previous remark to you: _bool can count_. The fact that True == 1 and False == 0 is very ... |
Nov. 23, 2017, 1:41 p.m. | + 1 | for Comment veky: > in many other examples of your oneliners i don't understand everything. Feel free to ask whatever ... |
Nov. 23, 2017, 1:40 p.m. | + 1 | for Comment bryukh: Hm, t think, the problem is a list as default argument. If you try to call you function more than on... |
Nov. 23, 2017, 1:40 p.m. | + 1 | for Comment veky: First, for me this is a three-liner (it can be two-liner if you squint, but no way it can be one-lin... |
Nov. 30, 2014, 12:15 a.m. | + 1 | for Comment veky: Yes, it's a known phenomenon. When you speak language A very well, and then try to learn B, at the s... |
Nov. 29, 2014, 11:48 p.m. | + 4 | for To recurse is divine-dknn |
Nov. 29, 2014, 11:45 p.m. | + 4 | for First-nennogabriel |
Nov. 29, 2014, 11:43 p.m. | + 1 | for Comment nickie: In Python, "a or b" evaluates to "a" unless this produces a false value (i.e., False, 0, None, an em... |
Nov. 29, 2014, 11:41 p.m. | + 1 | for Comment veky: numstring is semantically empty, str(number) says the same thing in a clearer way. You could even it... |
Nov. 29, 2014, 11:38 p.m. | + 4 | for First-michael.kej |
Nov. 29, 2014, 11:37 p.m. | + 1 | for Comment ItsPat: Because int(0) evaluates to False, so it just skips it. i.e. if int(x) == True: n* = int(x). int(0) ... |
Nov. 29, 2014, 11:32 p.m. | + 4 | for reduce-Cjkjvfnby |
Nov. 29, 2014, 11:24 p.m. | + 1 | for Comment dirk86: You've convinced me, I should make more use of standard libraries. Thank you! |
Nov. 29, 2014, 11:22 p.m. | + 4 | for Convert and Iterate-bryukh |
Nov. 18, 2014, 11:41 p.m. | + 3 | for First-mr.floppy |
Nov. 18, 2014, 11:27 p.m. | + 4 | for operators-Cjkjvfnby |
Nov. 18, 2014, 11:07 p.m. | + 4 | for First-panaro32 |
Nov. 18, 2014, 11:07 p.m. | + 4 | for First-madmanbob |
Nov. 18, 2014, 10:55 p.m. | + 1 | for Comment veky: You can multiply str and list and tuple, why not bool? :-] But really, this is even much simpler tha... |
Nov. 18, 2014, 10:53 p.m. | + 1 | for Comment veky: Basically yes. 1. bools _are_ ints. isinstance(False, int) returns True. 2. Yes, return is kinda lik... |
Nov. 16, 2014, 11:16 a.m. | + 4 | for First-Sim0000 |
Nov. 16, 2014, 10:49 a.m. | + 3 | for First-monkshorin |
Nov. 4, 2014, 10:15 p.m. | + 2 | for First-Blastus |
Nov. 4, 2014, 9:35 p.m. | + 1 | for Task Boolean Algebra |
Nov. 2, 2014, 3:49 p.m. | + 4 | for Cuckoo-bryukh |
Dec. 18, 2013, 4:04 p.m. | + 2 | for First-htamas |
Dec. 13, 2013, 11:11 p.m. | + 4 | for no re-Cjkjvfnby |
Dec. 13, 2013, 11:05 p.m. | + 3 | for First-lazzaro.mike |
Dec. 13, 2013, 10:55 p.m. | + 2 | for First-madmanbob |
Dec. 1, 2013, 9:23 p.m. | + 4 | for First-djedje |
Dec. 1, 2013, 9:14 p.m. | + 3 | for Shoelace-veky |
Dec. 1, 2013, 9:12 p.m. | + 1 | for det-pyos_c5874a6bf94549e5b7bf2a696 |
Nov. 25, 2013, 9:16 p.m. | + 1 | for Explicit is better than implicit-veky |
Nov. 6, 2013, 8:37 p.m. | + 1 | for First-manub |
Nov. 6, 2013, 7:33 p.m. | + 3 | for Recursive generator-old_user |
Nov. 6, 2013, 7:30 p.m. | + 2 | for O(N)-PositronicLlama |
Nov. 6, 2013, 7:27 p.m. | + 4 | for Third-turncc |
Oct. 28, 2013, 6:12 p.m. | + 3 | for Adjustment-veky |
Oct. 28, 2013, 5:57 p.m. | + 3 | for First-PositronicLlama |
Oct. 23, 2013, 5:10 p.m. | + 2 | for First-lrekucki |
Oct. 23, 2013, 5:06 p.m. | + 1 | for First-TwelveBaud |
Oct. 17, 2013, 4:43 p.m. | + 4 | for First-mopodo |
Oct. 15, 2013, 11:23 a.m. | + 1 | for First-Amachua |
Oct. 12, 2013, 3:28 p.m. | + 3 | for Second-nliautaud |
Oct. 12, 2013, 3:16 p.m. | + 3 | for Euclid-bryukh |
Oct. 12, 2013, 3:06 p.m. | + 1 | for ItertoolsOneLiner-jicks |
Oct. 12, 2013, 3:02 p.m. | + 3 | for Ascending-veky |
Oct. 12, 2013, 2:34 p.m. | + 2 | for First-bryukh |
Oct. 12, 2013, 1:55 p.m. | + 2 | for First-yogabear |
Oct. 12, 2013, 1:54 p.m. | + 3 | for First-pipan |
Oct. 7, 2013, 9:31 p.m. | + 2 | for Dynamic programming-veky |
Oct. 7, 2013, 9:31 p.m. | + 1 | for First-lazygoose |
Oct. 6, 2013, 7:36 a.m. | + 1 | for Comment bryukh: As advice -- don't use recursion for this task. Simple queue and Breath(Depth)-First search. |
Oct. 3, 2013, 8:25 p.m. | + 1 | for Dijkstra's Forever !-Miaou |
Oct. 3, 2013, 8:06 p.m. | + 1 | for First-PositronicLlama |
Oct. 3, 2013, 12:37 p.m. | + 2 | for Pseudo-Morse-PositronicLlama |
Oct. 3, 2013, 10:51 a.m. | + 1 | for First-AndriusMk |
Oct. 3, 2013, 10:49 a.m. | + 1 | for string format-toufalk |
Oct. 3, 2013, 10:46 a.m. | + 3 | for First-silg2 |
Oct. 2, 2013, 11:11 p.m. | + 1 | for Digits-PositronicLlama |
Oct. 2, 2013, 11:09 p.m. | + 2 | for First-Marigold |
Oct. 2, 2013, 11:06 p.m. | + 3 | for One line-PositronicLlama |
Oct. 2, 2013, 10:51 p.m. | + 2 | for First-Moonra |
Oct. 2, 2013, 10:50 p.m. | + 3 | for First-MadHatter |
Oct. 2, 2013, 10:46 p.m. | + 2 | for Checks-Amachua |
Oct. 2, 2013, 7:36 p.m. | + 2 | for Numerical Differentiation-PositronicLlama |
Oct. 2, 2013, 7:15 p.m. | + 1 | for First-bunnychai |
Oct. 2, 2013, 7:13 p.m. | + 2 | for Math-bryukh |
Oct. 2, 2013, 6:17 p.m. | + 2 | for Shortest-veky |
Oct. 2, 2013, 6:16 p.m. | + 1 | for To_ordinal-pythonist |
Oct. 2, 2013, 3:19 p.m. | + 2 | for One-line solution-gcolle |
Oct. 2, 2013, 12:37 p.m. | + 1 | for 3 simple operations-odony |
Oct. 2, 2013, 12:34 p.m. | + 1 | for First-dougall |
Oct. 2, 2013, 11:06 a.m. | + 1 | for Thanks to PL-bryukh |
Oct. 2, 2013, 11:05 a.m. | + 1 | for First-Juge_Ti |
Oct. 1, 2013, 9:22 p.m. | + 2 | for Stack-based-PositronicLlama |
Oct. 1, 2013, 9:01 p.m. | + 1 | for One-liner-nicuveo |
Oct. 1, 2013, 8:32 p.m. | + 1 | for Perpendicular-bryukh |
Sept. 30, 2013, 8:15 p.m. | + 1 | for First-madmanbob |
Sept. 30, 2013, 3:23 p.m. | + 1 | for First-LetterRip |