SHARE
TWEET

Untitled

a guest Jun 26th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [[0,1,1],[0,0,0],[1,0,0]]
  2.      
  3. >>> n = 3
  4. >>> n
  5. 3
  6. >>> [[randint(0, 1) for _ in range(n)] for _ in range(n)]
  7. [[0, 0, 1], [1, 0, 1], [1, 1, 0]]
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
 
Top