Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy
- def nowa_plansza(H, W, pola=None):
- chuj=numpy.zeros((H,W))
- for beniz in pola:
- chuj[beniz[0],beniz[1]]=1
- return chuj
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement