Advertisement
Guest User

Untitled

a guest
Nov 16th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. import numpy
  2. def nowa_plansza(H, W, pola=None):
  3. chuj=numpy.zeros((H,W))
  4.  
  5.  
  6.  
  7. for beniz in pola:
  8. chuj[beniz[0],beniz[1]]=1
  9. return chuj
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement