mirror of
https://github.com/RustyRaptor/CS278.git
synced 2026-12-03 20:15:16 -07:00
did it in 1 line instead of 2 lol
This commit is contained in:
1 parent
586dc7dd90
commit
d0fa77d041
1 file changed
+1
-2
+1
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user