Help for this page

Select Code to Download


  1. or download this
    print "[", join(", ", @$_), "]\n" for permute([1,2], [1,2]);
  2. or download this
    [1, 1]
    [1, 2]
    [2, 1]
    [2, 2]