change unused variable name to follow convention
This commit is contained in:
parent
9ea066a79e
commit
e8a6a287a7
@ -3,7 +3,7 @@ from random import choices
|
|||||||
|
|
||||||
|
|
||||||
def generate_field() -> List[List[int]]:
|
def generate_field() -> List[List[int]]:
|
||||||
return [choices(range(6), weights=[8, 8, 4, 4, 4, 4], k=10) for y in range(10)]
|
return [choices(range(6), weights=[8, 8, 4, 4, 4, 4], k=10) for _ in range(10)]
|
||||||
|
|
||||||
|
|
||||||
class Environment:
|
class Environment:
|
||||||
|
Loading…
Reference in New Issue
Block a user