3

How could I rewrite the following code such that the output (evaluation result) is the same, but is obtained from code having less than 30 characters in total?

Table[Table[{b - a, b}, {b,8}],{a,8}],

I tried for more than an hour, but I can't find the solution to this problem.

Mr.Wizard
  • 271,378
  • 34
  • 587
  • 1,371
user63131
  • 31
  • 1

1 Answers1

11

is 22 chars ok?

{#2-#,#2}&~Array~{8,8}
ZaMoC
  • 6,697
  • 11
  • 31