String Concatenation


An error saying please use the + operator in your code

can anyone help me with this?

my code is
print  "Spam","and", "eggs"


Since the lesson is focused on concatenation it will do well to use it, as opposed the default print behavior. Perhaps this is what the SCT is expecting...

print "Spam" + " " + "and" + " " + "eggs"


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.