We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64ade4d commit 2ce96bdCopy full SHA for 2ce96bd
optimus_ids/__init__.py
@@ -56,7 +56,7 @@ def generate(
56
input_file = str(path_to_primes.joinpath(f'p{n}.txt').absolute())
57
line_number = rand_n(1_000_000)
58
with open(input_file, 'r') as f:
59
- for i in range(line_number):
+ for i in range(1, line_number):
60
f.readline()
61
return Optimus(int(f.readline().strip()), bitlength=bitlength)
62
0 commit comments