I have a text file. I want to read the file line by line, split with separator and make tuples every n
separator. The example is :
"A-B-C-D
E-F-G
Thank You!
For Helping
Stranger-seeker "
Output of above lines will look like:
(A,B,C,D)
(E,F,G\n\nThank You!\n\nFor Helping\n\nStranger,seeker)
I will be very grateful if you could help me with the solution in Python.