Advertisement
Guest User

Untitled

a guest
May 7th, 2021
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. # read in initial game board
  2. for i in range(number_of_cells):
  3. index, richness, neigh_0, neigh_1, neigh_2, neigh_3, neigh_4, neigh_5 = [int(j) for j in input().split()]
  4. cell_richness[index] = richness
  5. neighbours[index] = [neigh_0, neigh_1, neigh_2, neigh_3, neigh_4, neigh_5]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement