I have a file with data 300 lines. (in.txt)
I want to make a program that seperates the file in two others (out1.txt, out2.txt).
But I would like to do it with percentage.
Percentage (%): 50
and seperate the in.txt file in the middle but with random lines from the file.
A line that is in the out1.txt there is no in out2.txt
Could you help me please ?