Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 2
    \$\begingroup\$ Absolutely brilliant! I sure don't know if this is possible to use the same time of strategy in Python (it's case sensitive). \$\endgroup\$ Commented Mar 29, 2015 at 0:54
  • \$\begingroup\$ Very nice! Note that =Z[3*7] can be written as =Z[~-22] which only needs one line break instead of two. \$\endgroup\$ Commented Mar 30, 2015 at 0:14
  • \$\begingroup\$ @mbomb007 Yeah, but spaces are and they're first in the ASCII set... \$\endgroup\$ Commented Mar 30, 2015 at 9:15
  • \$\begingroup\$ @meandmycat Thanks! Updated. \$\endgroup\$ Commented Mar 30, 2015 at 10:10
  • \$\begingroup\$ We can save 4 more lines, as follows: To create the Z variable with the lower-case letters, simply express those as a single string, like this: Z =`acdelnorsttu ` Note that I have doubled the letter t, otherwise the u would appear in the 10'th position, and you can't express '10' because the digits are in the wrong order. \$\endgroup\$ Commented Apr 4 at 4:22