<human>:  Python: How to write multiple strings in one line?
<bot>: Here is some code to write multiple strings `line1`, `line2` and `line3` in one line in a file `target`

target.write('%r\n%r\n%r\n' % (line1, line2, line3))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.