Print a newline character.
print("
")
Or:
print("An angry-looking dwarf throws an axe at you.
You die.
")
new_line = "This new line will be added.
"
with open("sample.txt", "a") as a_file:
a_file.write("
")
a_file.write(new_line)
fw.write('
'.join(line_list) + '
')
a = '1' + '2' + '3' +
'4' + '5'
#preferred by style guide
a = ('1' + '2' + '3' +
'4' + '5')
a = '1' + '2' + '3' +
'4' + '5'