SHARE
TWEET

Untitled

a guest Nov 17th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def makePairs(pairs):
  2.     j = 1
  3.     pairs += [[0] * i + [j] for i in range(M)]
  4.     j = 1
  5.     pairs += [[1]  + [0] * i + [j] for i in range(M-1)]
  6.  
  7.     for m in range(2,10):
  8.         pairs += [[m]]
  9.         pairs += [[m] + [0]*i + [1] for i in range(M-1)]
  10.         pairs += [[0]+[0]*i + [m] for i in range(M-1)]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top