Timeline for A Mnemonic for Remembering 23940
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 25, 2015 at 21:58 | comment | added | swstephe | I was thinking something like "z,t=input(),str.maketrans...", then just use z instead of sys.argv. Okay, I thought my regex was 4-bytes. | |
Feb 25, 2015 at 21:31 | comment | added | ekhumoro |
@swstephe. Thanks for the feedback, but I don't think input() can be used, because it is called inside a loop. Also, your suggested regex is the same length as the one I'm already using (5 bytes).
|
|
Feb 25, 2015 at 21:21 | comment | added | swstephe | You could save a couple of bytes using input() instead of sys.argv[1] and '[sc]h' for your regular expression. | |
Feb 25, 2015 at 1:21 | review | First posts | |||
Feb 25, 2015 at 1:34 | |||||
Feb 25, 2015 at 1:18 | history | answered | ekhumoro | CC BY-SA 3.0 |