DavidSzczesniak
11/7/2017 - 9:31 PM

Print on seperate lines & ignore backslash

Prints given inputs on seperate lines. Also shows alternative and how to ignore the backslash , printing raw text.

print('line1\nline2\nline3')

# In contrast, to ignore the backslash and print raw text 
print(r'C:\\location\n')