Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[[255,255,255] if y else [0,0,0] for y in row ] for row in list]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement