Skip to main content
1 of 2

MUMPS, 35 bytes

r r,! f i=32:1:126 w:r'[$c(i) $c(i) 

Explanation

  • Assign input to r and write a newline (!)
  • Loop from 32 to 126 and if r doesn't contain ('[) the character representation of the ASCII value ($char(), can be shortened to $c()), write the that character representation.
  • You can attach conditionals to commands with a colon. So w:1>0 "True" is the same as if 1>0 write "True"