Mega Code Archive
Categories
/
Python
/
String
Demonstrates string concatenation and repetition
print "You can concatenate two " + "strings with the '+' operator." print "this " \ + "is " \ + "a test!" print \ """ A B""", print "Pie" * 10 print "\nNow that's good eating."