I\'ve started to learn Python with LPTHW and I\'ve gotten to exercise 16:
http://learnpythonthehardway.org/book/ex16.html
And feel like an idiot because I ca
The author suggested using the formats, the strings and the escapes, so the following works. This implements Python's f-strings:
target.write(f"{line1} \n{line2} \n{line3} \n")