did it in 1 line instead of 2 lol

This commit is contained in:
RustyRaptor committed 2019-12-05 14:00:43 -07:00
1 parent 586dc7dd90
commit d0fa77d041
1 file changed
+1 -2
+1 -2
View File
@@ -28,8 +28,7 @@ def refer(code, guess):
return score1
nums = list(range(1, 7))
sequences = [x for x in itertools.product(nums, repeat=4)]
sequences = [x for x in itertools.product(list(range(1, 7)), repeat=4)]
possible = [True] * len(sequences)
start = 0