Hi there,
I need an algorithm or the jist of how it would work for the following.
I have a .txt file with x amount of lines in it. I need to randomly pick each line and add it to a list, but all the lines must be added.
Thanks.
EDIT:
I dont hav ethe problem with the reading of the text file. Its the random order of reading bit.
I need an algorithm or the jist of how it would work for the following.
I have a .txt file with x amount of lines in it. I need to randomly pick each line and add it to a list, but all the lines must be added.
Thanks.
EDIT:
I dont hav ethe problem with the reading of the text file. Its the random order of reading bit.