Timeline for Prefix Notation to Postfix Notation
Current License: CC BY-SA 3.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 10, 2017 at 13:24 | history | edited | L3viathan | CC BY-SA 3.0 |
added 60 characters in body
|
May 10, 2017 at 13:22 | comment | added | ovs |
def p(s):x=next(s);yield from[x]*(x>"-")or[*p(s),*p(s),"-"] for 59 bytes
|
|
May 10, 2017 at 8:08 | history | edited | L3viathan | CC BY-SA 3.0 |
added 71 characters in body
|
May 10, 2017 at 8:06 | comment | added | L3viathan | @ovs I can't copy that exactly because then the input is not in the same format as the output. | |
May 9, 2017 at 21:29 | history | edited | L3viathan | CC BY-SA 3.0 |
deleted 124 characters in body
|
May 9, 2017 at 13:27 | history | edited | L3viathan | CC BY-SA 3.0 |
added 282 characters in body
|
May 9, 2017 at 13:18 | history | edited | L3viathan | CC BY-SA 3.0 |
added 23 characters in body
|
May 9, 2017 at 13:04 | history | edited | L3viathan | CC BY-SA 3.0 |
added 63 characters in body
|
May 9, 2017 at 13:03 | comment | added | L3viathan | @LeakyNun It does not.. | |
May 9, 2017 at 13:03 | comment | added | Leaky Nun |
Does having d="-" really save bytes?
|
|
May 9, 2017 at 13:01 | history | edited | L3viathan | CC BY-SA 3.0 |
added 36 characters in body
|
May 9, 2017 at 13:01 | comment | added | Leaky Nun |
You don't need else , methinks.
|
|
May 9, 2017 at 13:00 | history | edited | L3viathan | CC BY-SA 3.0 |
added 36 characters in body
|
May 9, 2017 at 12:59 | comment | added | Dada |
lambda x:p(x)[0] could probably replace your f function.
|
|
May 9, 2017 at 12:58 | comment | added | L3viathan | @LeakyNun Just noticed it myself; fixed. | |
May 9, 2017 at 12:58 | history | edited | L3viathan | CC BY-SA 3.0 |
added 6 characters in body
|
May 9, 2017 at 12:57 | comment | added | Leaky Nun |
Doesn't work because you forgot return
|
|
May 9, 2017 at 12:55 | history | answered | L3viathan | CC BY-SA 3.0 |