I also get for:
perl -E'print$_^$_/2for 0..pop' 15Output:
0132675412131514101198But for:
perl -E'say$_^$_/2for 0..pop' 15I get:
0 1 3 2 6 7 5 4 12 13 15 14 10 11 9 8
I believe that was mtve's intent. Um, that's 20 chars of actual code.
In reply to Re^2: Decimal Gray Code in 31 chars
by Xiong
in thread Decimal Gray Code in 31 chars
by Oromis92
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |