Hello,

I have the following question. Given several lines in a file that look like the following:



print("This is 1.\n");print("This is 2.");
print("This is 3.\n");


I would like the above to be formated like (which is just adding in the newline a print that may not have it, but only if it does not have it):

print("This is 1.\n");print("This is 2.");
print("This is 3.\n");

How does one do this?

Sean

Reply via email to