<filename>Textbook/Chapter 1/concatenateStringsCommasNewLines.py
#concatenateStringsCommasNewLines.py
line1 = "You thought it would be easy"
line2 = "You thought it wouldn't be strange"
line3 = "But then you started coding"
line4 = "Things never were the same"
# Now the comma inserts a "\n" to start a new line
# instead of adding a space
print(line1, line2, line3, line4, sep = "\n")
<filename>Textbook/Chapter 1/concatenateStringsCommasNewLines.py
#concatenateStringsCommasNewLines.py
line1 = "You thought it would be easy"
line2 = "You thought it wouldn't be strange"
line3 = "But then you started coding"
line4 = "Things never were the same"
# Now the comma inserts a "\n" to start a new line
# instead of adding a space
print(line1, line2, line3, line4, sep = "\n")
#concatenateStringsCommasNewLines.py # Now the comma inserts a "\n" to start a new line # instead of adding a space