I have the following code:
line1 = raw_input(\"line 1: \") line2 = raw_input(\"line 2: \") line3 = raw_input(\"line 3: \") print \"I\'m going to write these
this also works:
target.write("{}" "\n" "{}" "\n" "{}" "\n".format(line1, line2, line3))