I am trying to understand the point behind using the '+' character when trying to concatenate strings. I am new to learning Python and going through the book "Python Programming for Absolute Beginners 3rd ed." and do not understand the point or reason for concatenating strings. The reason I do not understand is when experimenting to understand what was being taught I wrote:
print("\nThis string" "may not" "seem terr" "ibly impressive") then wrote: print("\nThis string" + "may not" + "seem terr" + "ibly impressive") and the both printed the same output..so why would I want to use '+' to add strings if there seems to be no reason too?
_______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor