From e8a6a287a771c2daeb15910cb00e0de235a09e5d Mon Sep 17 00:00:00 2001 From: matixezor Date: Sun, 14 Mar 2021 19:34:53 +0100 Subject: [PATCH] change unused variable name to follow convention --- src/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/environment.py b/src/environment.py index bbe09ee..dd7cbca 100644 --- a/src/environment.py +++ b/src/environment.py @@ -3,7 +3,7 @@ from random import choices 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: