Commit a6b3cc77 authored by Thomas Huetter's avatar Thomas Huetter
Browse files

fixed sorting bug in random lines

parent 85e250e6
......@@ -34,6 +34,7 @@ with open(filename) as f:
linestoprint = random.sample(range(len(lines)), number)
for ln in linestoprint:
print(lines[ln], end='')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment