Skip to main content
2 of 5
deleted 23 characters in body
isaacg
  • 42.1k
  • 5
  • 73
  • 213

#Pyth, 32

jd"QZENRPMA\nLHIFKSXJ\n\0TUVWYGC

Output:

Q Z E N R P M A 
 L H I F K S X J 
  T U V W Y G C

Combines @Peter Taylor's grid, @grc's null byte trick and Pyth's extremely short syntax.

Explanation:

j is python's string join. d is space. \0 is the escape sequence for the null byte. It is a NOP when printed, so the third line has exactly two spaces in front. Also, note that strings can be EOL-terminated in Pyth, as well as quote-terminated.

isaacg
  • 42.1k
  • 5
  • 73
  • 213