Help for this page

Select Code to Download


  1. or download this
    for $x (1 .. 7) {
      for $y ($x+1 .. 7) {
        push @pairs, [$x,$y];
      }
    }
    
  2. or download this
    for $x (? .. ?) {
      for $y (? .. ?) {
        push @pairs, [$y, $y-$x];
      }
    }