Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lst = []
- for row in range(12):
- row = []
- for col in range(16):
- cell_health = choice([0,0,0,0,0,1,2])
- if (row == 0) or (row == 11):
- cell_health = 2
- else:
- if (col == 0) or (col == 15):
- cell_health = 2
- row.append(cell_health)
- print(cell_health, "", end='')
- lst.append(row)
- print()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement