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*

Required fields*

Print all ASCII alphanumeric characters without using them

Challenge

Print the following characters:

abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890

The catch is that you may not use any one of them in your code.

You may print them in arbitrary order, with or without a leading or trailing newline, but you may not print any other characters.

Rules

  • You may not use any characters from the set mentioned above
  • You may use any other characters
  • No cheating
  • Standard loopholes banned
  • This is , shortest answer wins.

Clarifications

  • If your language uses a different charset, you may not use codepoints in that charset that correspond to alphanumeric characters.
  • Returning a string from a function is considered a valid form of output.
  • You may return a char array.

Answer*

Cancel
3
  • 8
    \$\begingroup\$ +1 for being the first non-esoteric language in a challenge very suited to esolangs. \$\endgroup\$ Commented Jan 5, 2017 at 21:56
  • 5
    \$\begingroup\$ A big +1, not for using Octave (it's quite straight forward), but for golfing this very well, and using _ as a variable! I had no idea it was possible... Nice! \$\endgroup\$ Commented Jan 5, 2017 at 22:42
  • 1
    \$\begingroup\$ When concatenated with an empty string ([...,'']), the numbers again are converted to characters.... very nice \$\endgroup\$ Commented Jan 6, 2017 at 3:46